ansible-lint: ansible lint command should not change things if nothing needs doing

This commit is contained in:
Juan Antonio Osorio Robles 2017-11-30 08:54:02 +00:00
parent 27999d407e
commit 5666cee446
1 changed files with 1 additions and 0 deletions

View File

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