Style changes

This commit is contained in:
Sonny Bakker 2021-02-01 21:16:53 +01:00
parent 4296823b3f
commit 248b921cb4
9 changed files with 82 additions and 77 deletions

View file

@ -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'