Do not report changed for shell
Currently "Set the state of the mount" task reports changed state every time, which makes impression that role is not idempotent. We fix that by adding `changed_when: false` to the task. Change-Id: I3deca051530b3c5497d70b9bc06f39483e8ef4ce
This commit is contained in:
parent
d74c88dcb5
commit
13b2abebe7
@ -92,6 +92,7 @@
|
||||
$(systemd-escape -p --suffix="{{ systemd_mount_suffix }}" "{{ systemd_mount_item }}")
|
||||
args:
|
||||
warn: no
|
||||
changed_when: false
|
||||
when:
|
||||
- item.state is defined
|
||||
tags:
|
||||
|
Loading…
x
Reference in New Issue
Block a user