From 5351d7dc870e3ce0505f8382643a523b3e64bd19 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 3 Dec 2018 17:12:52 +0000 Subject: [PATCH] Fix ansible deprecation warnings === [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. === Change-Id: Id2f8065cd81cd05c36fcbc33bb9c48b6574d30d1 --- tasks/lxc_container_config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/lxc_container_config.yml b/tasks/lxc_container_config.yml index 2f65062..46aa97a 100644 --- a/tasks/lxc_container_config.yml +++ b/tasks/lxc_container_config.yml @@ -191,9 +191,9 @@ lxc_container_veth_wiring: true when: - ((not lxc_container_veth_wiring | bool) and - ((network_config | changed) and (network_includes | changed))) and - not ((default_configuration_container | changed) or - (bind_configuration_container | changed)) + ((network_config is changed) and (network_includes is changed))) and + not ((default_configuration_container is changed) or + (bind_configuration_container is changed)) - name: Run container veth wiring script command: >-