This commit is contained in:
2021-03-17 23:09:08 +01:00
parent 1d7cd70124
commit 1a57617bc2
4 changed files with 11 additions and 21 deletions

View File

@@ -4,6 +4,9 @@
name: "{{ apache_package_name }}"
state: present
- name: include data in vault
include_vars: vault.yml
- name: configuration
notify: reload httpd
template:
@@ -46,7 +49,7 @@
htpasswd:
path: "/etc/httpd/passwd"
name: tom
password: "123Soleil"
password: "{{ apache_password }}""
mode: 0640
owner: root
group: "apache"