fix idempotency for command
This commit is contained in:
parent
09c6402af2
commit
4540c0b5c0
|
@ -7,8 +7,14 @@
|
||||||
with_items:
|
with_items:
|
||||||
- python36
|
- python36
|
||||||
|
|
||||||
|
- name: Check for installed pip3
|
||||||
|
stat:
|
||||||
|
path: /usr/local/bin/pip3.6
|
||||||
|
register: __python3_pip
|
||||||
|
|
||||||
- name: Setup pip3
|
- name: Setup pip3
|
||||||
command: /bin/python3.6 -m ensurepip
|
command: /bin/python3.6 -m ensurepip
|
||||||
|
changed_when: __python3_pip.stat.exists
|
||||||
|
|
||||||
- name: Link binaries to '__python3_link_bin_path'
|
- name: Link binaries to '__python3_link_bin_path'
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in New Issue