1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

35 tasks/*.yml writing to iiab_state.yml

This commit is contained in:
root 2020-01-12 17:06:24 -05:00
parent 85bd6ec55b
commit bd915fcdae
30 changed files with 90 additions and 113 deletions

View file

@ -4,8 +4,6 @@
- "{{ proxy }}"
- cadaver
state: present
tags:
- download
- name: "Bigger hammer for Ubuntu, run: /etc/init.d/squid stop"
command: /etc/init.d/squid stop
@ -68,7 +66,7 @@
path: /library/cache
owner: "{{ proxy_user }}"
group: "{{ proxy_user }}"
mode: 0750
mode: '0750'
state: directory
- name: Create Squid directory /var/log/{{ proxy }}
@ -76,7 +74,7 @@
path: "/var/log/{{ proxy }}"
owner: "{{ proxy_user }}"
group: "{{ proxy_user }}"
mode: 0750
mode: '0750'
state: directory
- include_tasks: roles/network/tasks/dansguardian.yml
@ -87,7 +85,6 @@
dest: "{{ iiab_state_file }}"
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 }}