kopia lustrzana https://github.com/piku/piku
Merge pull request #148 from jsenin/piku-installer-fixes
Avoid install python2 each time at pre_taskpull/142/head
commit
59a3b98c88
|
@ -4,7 +4,7 @@
|
|||
gather_facts: no
|
||||
pre_tasks:
|
||||
- name: Install python2 required by Ansible
|
||||
raw: "( /usr/bin/python --version 2>&1 | grep -c 'Python' > /dev/null ) || apt-get update && apt-get -y install python"
|
||||
raw: "( /usr/bin/python --version 2>&1 | grep -c 'Python' > /dev/null ) || ( apt-get update && apt-get -y install python )"
|
||||
|
||||
- hosts: all
|
||||
become: yes
|
||||
|
|
Ładowanie…
Reference in New Issue