mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
stop squid after install
This commit is contained in:
parent
6fae49c465
commit
26aa57537f
1 changed files with 5 additions and 6 deletions
|
@ -64,15 +64,14 @@
|
||||||
mode=0750
|
mode=0750
|
||||||
state=directory
|
state=directory
|
||||||
|
|
||||||
|
- name: Stop Squid
|
||||||
|
service: name={{ proxy }}
|
||||||
|
state=stopped
|
||||||
|
when: not installing
|
||||||
|
|
||||||
- include_tasks: roles/network/tasks/dansguardian.yml
|
- include_tasks: roles/network/tasks/dansguardian.yml
|
||||||
when: dansguardian_install
|
when: dansguardian_install
|
||||||
|
|
||||||
#- name: Stop Squid
|
|
||||||
# service: name={{ proxy }}
|
|
||||||
# state=stopped
|
|
||||||
# ignore_errors: yes
|
|
||||||
# when: not installing
|
|
||||||
|
|
||||||
- name: Add Squid to service list
|
- name: Add Squid to service list
|
||||||
ini_file: dest='{{ service_filelist }}'
|
ini_file: dest='{{ service_filelist }}'
|
||||||
section={{ proxy }}
|
section={{ proxy }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue