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