Check mode pour remount
This commit is contained in:
parent
3300acc80d
commit
18536ee6aa
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue