Style changes
This commit is contained in:
parent
4296823b3f
commit
248b921cb4
9 changed files with 82 additions and 77 deletions
|
|
@ -1,12 +1,6 @@
|
|||
- name: install SSL packages
|
||||
apt:
|
||||
name:
|
||||
- python3-openssl
|
||||
- python3-crypto
|
||||
- python3-cryptography
|
||||
- python-openssl
|
||||
- python-crypto
|
||||
- python-cryptography
|
||||
name: '{{ ssl_packages }}'
|
||||
state: present
|
||||
|
||||
- name: create ssl directory
|
||||
|
|
@ -32,7 +26,7 @@
|
|||
- name: generate a self signed OpenSSL certificate
|
||||
become_user: '{{ app_user }}'
|
||||
openssl_certificate:
|
||||
force: yes
|
||||
force: true
|
||||
path: '/etc/ssl/{{ app_name }}/{{ app_name }}.crt'
|
||||
privatekey_path: '/etc/ssl/{{ app_name }}/local.pem'
|
||||
csr_path: '/etc/ssl/{{ app_name }}/local.csr'
|
||||
|
|
|
|||
Reference in a new issue