ansible-lint: ansible lint command should not change things if nothing needs doing
This commit is contained in:
parent
27999d407e
commit
5666cee446
|
@ -14,6 +14,7 @@
|
|||
command: pcs resource show {{ resource_agent_name }}
|
||||
ignore_errors: yes
|
||||
register: found_resource_agent
|
||||
changed_when: found_resource_agent|failed
|
||||
|
||||
- name: Delete {{ resource_agent_name }} Resource Agent
|
||||
command: pcs resource delete {{ resource_agent_name }}
|
||||
|
|
Loading…
Reference in New Issue