We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b92e4a commit db488e5Copy full SHA for db488e5
etc/kayobe/ansible/configure-aio-resources.yml
@@ -42,7 +42,10 @@
42
# and removed the IP
43
ansible.builtin.command: ip a add 10.0.2.1/24 dev breth1
44
register: result
45
- failed_when: 'result.rc != 0 and "RTNETLINK answers: File exists" not in result.stderr'
+ failed_when:
46
+ - '"RTNETLINK answers: File exists" not in result.stderr'
47
+ - '"Address already assigned" not in result.stderr'
48
+ - result.rc != 0
49
changed_when: result.rc == 0
50
become: true
51
0 commit comments