2023-05-28 18:24:51 +00:00
|
|
|
---
|
|
|
|
# task/prerequisites file for deploy_adguard
|
|
|
|
- name: "Create adguard directory"
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ deploy_adguard_directory }}"
|
|
|
|
state: directory
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: '0755'
|
2023-12-02 16:25:56 +00:00
|
|
|
become: true
|
2023-05-28 18:24:51 +00:00
|
|
|
|
|
|
|
- name: "Create adguard/conf directory"
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ deploy_adguard_directory }}/conf"
|
|
|
|
state: directory
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: '0755'
|
2023-12-02 16:25:56 +00:00
|
|
|
become: true
|
2023-05-28 18:24:51 +00:00
|
|
|
|
|
|
|
- name: "Create adguard/data directory"
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ deploy_adguard_directory }}/data"
|
|
|
|
state: directory
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: '0755'
|
2023-12-02 16:25:56 +00:00
|
|
|
become: true
|