Drop trailing whitespaces
This commit is contained in:
parent
299938ec80
commit
48e79bd48c
|
@ -40,10 +40,10 @@
|
|||
line: "http://{{ item }}/.*"
|
||||
with_items:
|
||||
- '{{ urls.split(",") }}'
|
||||
|
||||
|
||||
- name: Reload Squid
|
||||
command: /etc/init.d/squid3 reload
|
||||
|
||||
|
||||
when: config_jessie.stat.exists
|
||||
|
||||
- block:
|
||||
|
@ -54,16 +54,16 @@
|
|||
line: "^{{ item }}$"
|
||||
with_items:
|
||||
- '{{ urls.split(",") }}'
|
||||
|
||||
|
||||
- name: Reload Squid
|
||||
command: /etc/init.d/squid reload
|
||||
|
||||
|
||||
when: config_stretch.stat.exists
|
||||
|
||||
|
||||
|
||||
## Verify :
|
||||
# Doit plutôt vérifier si c'est "X-Squid-Error: ERR_ACCESS_DENIED" 0 ne bloque ou pas
|
||||
|
||||
|
||||
# - name: test headers
|
||||
# uri:
|
||||
# url: http://placeholder.stratis.fr/700-394
|
||||
|
@ -73,18 +73,18 @@
|
|||
#
|
||||
# - debug:
|
||||
# msg: "{{ login.x_squid_error }}"
|
||||
|
||||
|
||||
# - name: Update successful?
|
||||
# uri:
|
||||
# uri:
|
||||
# url: "http://{{ item }}"
|
||||
# method: GET
|
||||
# status_code: 200,301,302,403,404
|
||||
# with_items:
|
||||
# - "{{ urls.split(',') }}"
|
||||
|
||||
|
||||
## Save configuration
|
||||
#
|
||||
|
||||
|
||||
- name: Evomaintenance
|
||||
shell: "echo '{{ ticket }} whitelist domaine(s) dans squid'|/bin/sh /usr/share/scripts/evomaintenance.sh"
|
||||
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
# tasks_from: commit.yml
|
||||
# vars:
|
||||
# commit_message: "Ansible post-run Evolinux playbook"
|
||||
#
|
||||
#
|
||||
# - include_role:
|
||||
# name: evocheck
|
||||
# tasks_from: exec.yml
|
||||
|
|
Loading…
Reference in a new issue