Specify shell
This commit is contained in:
parent
5ecf8a2212
commit
7ddae2c89f
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: install python for Ansible
|
- name: install python for Ansible
|
||||||
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal python-setuptools)
|
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal python-setuptools)
|
||||||
|
args:
|
||||||
|
executable: /bin/bash
|
||||||
register: output
|
register: output
|
||||||
changed_when: output.stdout != ""
|
changed_when: output.stdout != ""
|
||||||
- setup: # gather facts
|
- setup: # gather facts
|
||||||
|
|
Loading…
Reference in a new issue