fix ansible 2.8 bool vars
This commit is contained in:
parent
07507651ce
commit
a621920207
@ -39,7 +39,7 @@
|
|||||||
group: root
|
group: root
|
||||||
mode: 0600
|
mode: 0600
|
||||||
when:
|
when:
|
||||||
- mosquitto_acl_enabled
|
- mosquitto_acl_enabled | bool
|
||||||
- mosquitto_acl is defined
|
- mosquitto_acl is defined
|
||||||
notify: __mosquitto_restart
|
notify: __mosquitto_restart
|
||||||
become: True
|
become: True
|
||||||
|
@ -32,6 +32,6 @@
|
|||||||
name: allow_mosquitto_port
|
name: allow_mosquitto_port
|
||||||
state: present
|
state: present
|
||||||
rules: '-A INPUT -m state --state NEW -p tcp --dport {{ mosquitto_port }} -j ACCEPT'
|
rules: '-A INPUT -m state --state NEW -p tcp --dport {{ mosquitto_port }} -j ACCEPT'
|
||||||
when: mosquitto_iptables_enabled
|
when: mosquitto_iptables_enabled | bool
|
||||||
become: True
|
become: True
|
||||||
become_user: root
|
become_user: root
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
- import_tasks: install.yml
|
- import_tasks: install.yml
|
||||||
- import_tasks: config.yml
|
- import_tasks: config.yml
|
||||||
- import_tasks: tls.yml
|
- import_tasks: tls.yml
|
||||||
when: mosquitto_tls_enabled
|
when: mosquitto_tls_enabled | bool
|
||||||
tags: tls_renewal
|
tags: tls_renewal
|
||||||
- import_tasks: post_tasks.yml
|
- import_tasks: post_tasks.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user