Limiting pip to not run as sudo
This commit is contained in:
parent
939b00b589
commit
3ecd676f97
1 changed files with 3 additions and 0 deletions
|
@ -13,18 +13,21 @@
|
||||||
name: pip
|
name: pip
|
||||||
state: latest
|
state: latest
|
||||||
when: ansible_python_version is version('3', '>=')
|
when: ansible_python_version is version('3', '>=')
|
||||||
|
become: no
|
||||||
|
|
||||||
- name: Install latest python2-cryptography
|
- name: Install latest python2-cryptography
|
||||||
package:
|
package:
|
||||||
name: python2-cryptography
|
name: python2-cryptography
|
||||||
state: latest
|
state: latest
|
||||||
when: ((ansible_python_version is version('2', '>=')) and (ansible_python_version is version('3', '<')) )
|
when: ((ansible_python_version is version('2', '>=')) and (ansible_python_version is version('3', '<')) )
|
||||||
|
become: no
|
||||||
|
|
||||||
- name: Install latest cryptography
|
- name: Install latest cryptography
|
||||||
pip:
|
pip:
|
||||||
name: cryptography
|
name: cryptography
|
||||||
state: latest
|
state: latest
|
||||||
when: ansible_python_version is version('3', '>=')
|
when: ansible_python_version is version('3', '>=')
|
||||||
|
become: no
|
||||||
|
|
||||||
- name: Ensure directory exists for local self-signed TLS certs
|
- name: Ensure directory exists for local self-signed TLS certs
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in a new issue