2021-01-09 17:54:42 +00:00
|
|
|
- name: Create passwords.yaml file
|
|
|
|
file:
|
|
|
|
name: "{{ inventory_dir }}/group_vars/all/passwords.yaml"
|
|
|
|
state: touch
|
|
|
|
|
|
|
|
- name: Create files directory for ddclient tsig
|
|
|
|
file:
|
|
|
|
name: "{{ playbook_dir }}/files/{{ namespace }}"
|
|
|
|
state: directory
|
|
|
|
|
|
|
|
- include_tasks: passwords.yaml
|
|
|
|
loop: "{{ default_accounts }}"
|
|
|
|
|
2023-03-02 18:32:58 +00:00
|
|
|
- include_tasks: secrets.yaml
|
|
|
|
loop: "{{ secret_keys }}"
|
|
|
|
|
2021-01-09 17:54:42 +00:00
|
|
|
- include_tasks: htpasswd.yaml
|
|
|
|
loop: "{{ htpasswd_accounts }}"
|
|
|
|
|
|
|
|
- include_tasks: passwords.yaml
|
|
|
|
loop: "{{ openldap_custom_users }}"
|
|
|
|
when: openldap_custom_users is defined
|
|
|
|
|
|
|
|
- include_tasks: passwords.yaml
|
|
|
|
loop: "{{ openldap_simple_users }}"
|
|
|
|
when: openldap_simple_users is defined
|
|
|
|
|
|
|
|
- include_tasks: tsig.yaml
|
|
|
|
|
|
|
|
- include_tasks: dkim.yaml
|
2021-02-09 23:28:01 +00:00
|
|
|
|
|
|
|
- include_tasks: vapid.yaml
|
|
|
|
loop: "{{ vapid_keys }}"
|