mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Ubuntu - stop squid before replacing the stock config files otherwise stock service does not stop with replacement files already in place
This commit is contained in:
parent
8c764acbca
commit
836747908d
1 changed files with 5 additions and 5 deletions
|
@ -7,6 +7,11 @@
|
|||
tags:
|
||||
- download
|
||||
|
||||
- name: Stop Squid
|
||||
service: name={{ proxy }}
|
||||
state=stopped
|
||||
when: not installing
|
||||
|
||||
- name: Create the Squid user
|
||||
user: name={{ proxy_user }}
|
||||
createhome=False
|
||||
|
@ -64,11 +69,6 @@
|
|||
mode=0750
|
||||
state=directory
|
||||
|
||||
- name: Stop Squid
|
||||
service: name={{ proxy }}
|
||||
state=stopped
|
||||
when: not installing
|
||||
|
||||
- include_tasks: roles/network/tasks/dansguardian.yml
|
||||
when: dansguardian_install
|
||||
|
||||
|
|
Loading…
Reference in a new issue