1
0
Fork 0
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:
Jerry Vonau 2019-10-16 09:39:08 -05:00
parent 579fa10b05
commit 29b28d8393
9 changed files with 58 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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 }}"

View file

@ -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: