Add python3-cryptography
This commit is contained in:
parent
a0713cd89a
commit
d03aa86378
4 changed files with 12 additions and 0 deletions
|
@ -14,4 +14,5 @@ dependencies:
|
|||
- role: jdk
|
||||
- role: jupyter
|
||||
- role: pycharm
|
||||
- role: cryptography
|
||||
- role: flask
|
||||
|
|
4
roles/cryptography/tasks/main.yml
Normal file
4
roles/cryptography/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
5
roles/cryptography/tasks/main_lin.yml
Normal file
5
roles/cryptography/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
- name: Install python-cryptography
|
||||
apt:
|
||||
name:
|
||||
- python3-cryptography
|
||||
state: latest
|
2
roles/cryptography/tasks/main_win.yml
Normal file
2
roles/cryptography/tasks/main_win.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
- name: Install python3-cryptography
|
||||
win_command: pip install cryptography
|
Loading…
Add table
Add a link
Reference in a new issue