Remove the use of tests as filters as it will be deprecated.
As of Ansible 2.5, using an Ansible provided jinja test with filter syntax, will display a deprecation error, they should be switched into using 'is' [0]. [0] - https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.5.html#id17 Change-Id: I46912d6cff8b8332bbe875166636523f02a8088b
This commit is contained in:
parent
bd7c47b0c0
commit
dca57f51bc
@ -484,7 +484,7 @@ outputs:
|
||||
- name: Restart rsyslogd service after logging conf change
|
||||
service: name=rsyslog state=restarted
|
||||
when:
|
||||
- logconfig|changed
|
||||
- logconfig is changed
|
||||
when: rsyslog_config.rc == 0
|
||||
upgrade_tasks:
|
||||
- when: step|int == 3
|
||||
|
@ -619,7 +619,7 @@ outputs:
|
||||
- name: Restart rsyslogd service after logging conf change
|
||||
service: name=rsyslog state=restarted
|
||||
when:
|
||||
- logconfig|changed
|
||||
- logconfig is changed
|
||||
when: rsyslog_config.rc == 0
|
||||
- name: Set fact for SwiftRawDisks
|
||||
set_fact:
|
||||
|
Loading…
x
Reference in New Issue
Block a user