Remove is true
This commit is contained in:
parent
55434a3bba
commit
e3faf5d8aa
|
@ -5,7 +5,7 @@
|
|||
state: directory
|
||||
mode: '0750'
|
||||
when:
|
||||
- crowdsec_haproxy is True
|
||||
- crowdsec_haproxy e
|
||||
tags:
|
||||
- haproxy-plugin
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
|||
failed_when: bouncers_status.rc not in [0,1]
|
||||
delegate_to: "{{ crowdsec_lapi_server }}"
|
||||
when:
|
||||
- crowdsec_haproxy is True
|
||||
- crowdsec_haproxy
|
||||
tags:
|
||||
- haproxy-plugin
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
|||
when: bouncers_status.rc == 1
|
||||
delegate_to: "{{ crowdsec_lapi_server }}"
|
||||
when:
|
||||
- crowdsec_haproxy is True
|
||||
- crowdsec_haproxy
|
||||
tags:
|
||||
- haproxy-plugin
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
|||
api_key_str: "{{ api_key.stdout }}"
|
||||
when:
|
||||
- api_key.skipped is not defined
|
||||
- crowdsec_haproxy is True
|
||||
- crowdsec_haproxy
|
||||
tags:
|
||||
- haproxy-plugin
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
|||
register: api_key
|
||||
when:
|
||||
- bouncers_status.rc == 0
|
||||
- crowdsec_haproxy is True
|
||||
- crowdsec_haproxy
|
||||
tags:
|
||||
- haproxy-plugin
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
|||
api_key_str: "{{ api_key.stdout }}"
|
||||
when:
|
||||
- api_key.skipped is not defined
|
||||
- crowdsec_haproxy is True
|
||||
- crowdsec_haproxy
|
||||
tags:
|
||||
- haproxy-plugin
|
||||
|
||||
|
@ -63,7 +63,7 @@
|
|||
mode: 0640
|
||||
notify: crowdsec-haproxy-restart
|
||||
when:
|
||||
- crowdsec_haproxy is True
|
||||
- crowdsec_haproxy
|
||||
tags:
|
||||
- haproxy-plugin
|
||||
|
||||
|
@ -76,7 +76,7 @@
|
|||
mode: 0640
|
||||
notify: crowdsec-haproxy-restart
|
||||
when:
|
||||
- crowdsec_haproxy is True
|
||||
- crowdsec_haproxy
|
||||
tags:
|
||||
- haproxy-plugin
|
||||
|
||||
|
@ -87,7 +87,7 @@
|
|||
state: present
|
||||
ignore_errors: true
|
||||
when:
|
||||
- crowdsec_haproxy is True
|
||||
- crowdsec_haproxy
|
||||
loop:
|
||||
- lua5.1
|
||||
- luarocks
|
||||
|
|
Loading…
Reference in a new issue