Add changed_when: false to rpm query
This commit is contained in:
parent
7ad5523113
commit
55ba81fee5
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
command: rpm -q --qf '%{V}\n' systemd
|
||||
register: systemd_version
|
||||
when: ansible_os_family == "RedHat" and not is_atomic
|
||||
changed_when: false
|
||||
|
||||
- name: Write docker.service systemd file
|
||||
template:
|
||||
|
|
Loading…
Reference in a new issue