deploy_adguard/tasks/prerequisites.yml
Bertrand Lanson 3d1d620edc
All checks were successful
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian11) (push) Successful in 31s
test / Molecule tests (default, debian12) (push) Successful in 32s
test / Molecule tests (default, ubuntu2004) (push) Successful in 33s
test / Molecule tests (default, ubuntu2204) (push) Successful in 32s
test / Molecule tests (with_extra_sidecars, debian11) (push) Successful in 33s
test / Molecule tests (with_extra_sidecars, debian12) (push) Successful in 33s
test / Molecule tests (with_extra_sidecars, ubuntu2004) (push) Successful in 33s
test / Molecule tests (with_extra_sidecars, ubuntu2204) (push) Successful in 33s
feat: add become, add vagrant tests, fix #1
2023-12-02 17:25:56 +01:00

29 lines
632 B
YAML

---
# 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'
become: true
- name: "Create adguard/conf directory"
ansible.builtin.file:
path: "{{ deploy_adguard_directory }}/conf"
state: directory
owner: root
group: root
mode: '0755'
become: true
- name: "Create adguard/data directory"
ansible.builtin.file:
path: "{{ deploy_adguard_directory }}/data"
state: directory
owner: root
group: root
mode: '0755'
become: true