Check mode pour remount

This commit is contained in:
Jérémy Lecour 2017-04-07 11:12:02 +02:00 committed by Jérémy Lecour
parent 3300acc80d
commit 18536ee6aa
2 changed files with 2 additions and 6 deletions

View File

@ -16,9 +16,7 @@
register: mount
changed_when: False
failed_when: False
# Use this with Ansible 2.1+
#when: not ansible_check_mod
always_run: yes
when: not ansible_check_mode
with_items: "{{ partitions }}"
- name: Remount /usr if it is a partition and it is not mounted in ro

View File

@ -17,9 +17,7 @@
register: mount
changed_when: False
failed_when: False
# Use this with Ansible 2.1+
#when: not ansible_check_mod
always_run: yes
when: not ansible_check_mode
with_items: "{{ partitions }}"
- name: Remount /usr if it is a partition and it is not mounted in rw