added a few options and prereqs
This commit is contained in:
parent
9bb59523a4
commit
0697d65438
@ -8,3 +8,8 @@ deploy_adguard_enable_doh: true
|
||||
deploy_adguard_enable_dot: false
|
||||
deploy_adguard_enable_doq: false
|
||||
deploy_adguard_enable_dnscrypt: false
|
||||
deploy_adguard_virtual_ip:
|
||||
enable: false
|
||||
interface: eth0
|
||||
vip_addr: "192.168.1.53"
|
||||
deploy_adguard_config: {}
|
||||
|
0
tasks/configure.yml
Normal file
0
tasks/configure.yml
Normal file
@ -1,2 +1,4 @@
|
||||
---
|
||||
# task/main file for deploy_adguard
|
||||
- name: "Import prerequisites.yml"
|
||||
ansible.builtin.include_tasks: prerequisites.yml
|
25
tasks/prerequisites.yml
Normal file
25
tasks/prerequisites.yml
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
# 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'
|
||||
|
||||
- name: "Create adguard/conf directory"
|
||||
ansible.builtin.file:
|
||||
path: "{{ deploy_adguard_directory }}/conf"
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0755'
|
||||
|
||||
- name: "Create adguard/data directory"
|
||||
ansible.builtin.file:
|
||||
path: "{{ deploy_adguard_directory }}/data"
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0755'
|
Loading…
Reference in New Issue
Block a user