Fix no-changed-when ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#no-changed-when
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
---
|
||||
|
||||
- name: Run Docker System Prune
|
||||
ansible.builtin.command: "{{ matrix_host_command_docker }} system prune -a -f"
|
||||
ansible.builtin.command:
|
||||
cmd: "{{ matrix_host_command_docker }} system prune -a -f"
|
||||
register: matrix_common_after_docker_prune_result
|
||||
changed_when: matrix_common_after_docker_prune_result.rc == 0
|
||||
|
Reference in New Issue
Block a user