Skip to content

Commit

Permalink
improve initial setup for python3
Browse files Browse the repository at this point in the history
  • Loading branch information
s4ke committed Oct 26, 2022
1 parent 3da840f commit 42a91d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swarmsible/ansible_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
become: True
tasks:
- name: "ansible required: install python"
raw: DEBIAN_FRONTEND=noninteractive apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install python3-minimal -y && DEBIAN_FRONTEND=noninteractive apt-get install python3-simplejson -y
raw: python3 -c "import simplejson" || (DEBIAN_FRONTEND=noninteractive apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install python3-minimal -y && DEBIAN_FRONTEND=noninteractive apt-get install python3-simplejson -y)

- hosts: all
vars:
Expand Down

0 comments on commit 42a91d1

Please sign in to comment.