mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
stage 4 installed
This commit is contained in:
parent
579fa10b05
commit
29b28d8393
9 changed files with 58 additions and 3 deletions
|
|
@ -49,3 +49,10 @@
|
|||
mode: 0750
|
||||
state: directory
|
||||
when: ansible_distribution == "CentOS"
|
||||
|
||||
- name: Add 'dansguardian_installed' variable values to {{ iiab_installed }}
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^dansguardian_installed'
|
||||
line: 'dansguardian_installed: True'
|
||||
state: present
|
||||
|
|
|
|||
|
|
@ -59,3 +59,10 @@
|
|||
mode: 0644
|
||||
state: file
|
||||
when: is_redhat | bool
|
||||
|
||||
- name: Add 'dhcpd_installed' variable values to {{ iiab_installed }}
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^dhcpd_installed'
|
||||
line: 'dhcpd_installed: True'
|
||||
state: present
|
||||
|
|
|
|||
|
|
@ -100,6 +100,13 @@
|
|||
state: absent
|
||||
when: not is_debuntu and not dns_jail_enabled
|
||||
|
||||
- name: Add 'named_installed' variable values to {{ iiab_installed }}
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^named_installed'
|
||||
line: 'named_installed: True'
|
||||
state: present
|
||||
|
||||
- name: Start named systemd service
|
||||
systemd:
|
||||
name: "{{ dns_service }}"
|
||||
|
|
|
|||
|
|
@ -82,6 +82,13 @@
|
|||
- include_tasks: roles/network/tasks/dansguardian.yml
|
||||
when: dansguardian_install | bool
|
||||
|
||||
- name: Add 'squid_installed' variable values to {{ iiab_installed }}
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^squid_installed'
|
||||
line: 'squid_installed: True'
|
||||
state: present
|
||||
|
||||
# {{ proxy }} is normally "squid", but is "squid3" on raspbian-8 & debian-8
|
||||
- name: Add '{{ proxy }}' variable values to {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue