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:
Jose Luis Franco Arza 2019-02-07 16:27:44 +01:00
parent bd7c47b0c0
commit dca57f51bc
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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: