Fix remount_usr_rw/yml
This commit is contained in:
parent
4bc7635502
commit
745c45f88d
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
- name: Remount /usr if it is a partition and it is not mounted in rw
|
- name: Remount /usr if it is a partition and it is not mounted in rw
|
||||||
command: "mount -o remount,rw /usr"
|
command: "mount -o remount,rw /usr"
|
||||||
when: mount.rc == 0 and not mount.stdout_lines.0 | search("rw")
|
when:
|
||||||
|
- not ansible_check_mode
|
||||||
|
- mount.rc == 0
|
||||||
|
- not mount.stdout_lines.0 | search("rw")
|
||||||
|
check_mode: yes
|
||||||
args:
|
args:
|
||||||
warn: no
|
warn: no
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
- name: Remount /usr if it is a partition and it is not mounted in rw
|
- name: Remount /usr if it is a partition and it is not mounted in rw
|
||||||
command: "mount -o remount,rw /usr"
|
command: "mount -o remount,rw /usr"
|
||||||
when: mount.rc == 0 and not mount.stdout_lines.0 | search("rw")
|
when:
|
||||||
|
- not ansible_check_mode
|
||||||
|
- mount.rc == 0
|
||||||
|
- not mount.stdout_lines.0 | search("rw")
|
||||||
|
check_mode: yes
|
||||||
args:
|
args:
|
||||||
warn: no
|
warn: no
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
- name: Remount /usr if it is a partition and it is not mounted in rw
|
- name: Remount /usr if it is a partition and it is not mounted in rw
|
||||||
command: "mount -o remount,rw /usr"
|
command: "mount -o remount,rw /usr"
|
||||||
when: mount.rc == 0 and not mount.stdout_lines.0 | search("rw")
|
when:
|
||||||
|
- not ansible_check_mode
|
||||||
|
- mount.rc == 0
|
||||||
|
- not mount.stdout_lines.0 | search("rw")
|
||||||
|
check_mode: yes
|
||||||
args:
|
args:
|
||||||
warn: no
|
warn: no
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
- name: Remount /usr if it is a partition and it is not mounted in rw
|
- name: Remount /usr if it is a partition and it is not mounted in rw
|
||||||
command: "mount -o remount,rw /usr"
|
command: "mount -o remount,rw /usr"
|
||||||
when: mount.rc == 0 and not mount.stdout_lines.0 | search("rw")
|
when:
|
||||||
|
- not ansible_check_mode
|
||||||
|
- mount.rc == 0
|
||||||
|
- not mount.stdout_lines.0 | search("rw")
|
||||||
|
check_mode: yes
|
||||||
args:
|
args:
|
||||||
warn: no
|
warn: no
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
- name: Remount /usr if it is a partition and it is not mounted in rw
|
- name: Remount /usr if it is a partition and it is not mounted in rw
|
||||||
command: "mount -o remount,rw /usr"
|
command: "mount -o remount,rw /usr"
|
||||||
when: mount.rc == 0 and not mount.stdout_lines.0 | search("rw")
|
when:
|
||||||
|
- not ansible_check_mode
|
||||||
|
- mount.rc == 0
|
||||||
|
- not mount.stdout_lines.0 | search("rw")
|
||||||
|
check_mode: yes
|
||||||
args:
|
args:
|
||||||
warn: no
|
warn: no
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
- name: Remount /usr if it is a partition and it is not mounted in rw
|
- name: Remount /usr if it is a partition and it is not mounted in rw
|
||||||
command: "mount -o remount,rw /usr"
|
command: "mount -o remount,rw /usr"
|
||||||
when: mount.rc == 0 and not mount.stdout_lines.0 | search("rw")
|
when:
|
||||||
|
- not ansible_check_mode
|
||||||
|
- mount.rc == 0
|
||||||
|
- not mount.stdout_lines.0 | search("rw")
|
||||||
|
check_mode: yes
|
||||||
args:
|
args:
|
||||||
warn: no
|
warn: no
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
- name: Remount /usr if it is a partition and it is not mounted in rw
|
- name: Remount /usr if it is a partition and it is not mounted in rw
|
||||||
command: "mount -o remount,rw /usr"
|
command: "mount -o remount,rw /usr"
|
||||||
when: mount.rc == 0 and not mount.stdout_lines.0 | search("rw")
|
when:
|
||||||
|
- not ansible_check_mode
|
||||||
|
- mount.rc == 0
|
||||||
|
- not mount.stdout_lines.0 | search("rw")
|
||||||
|
check_mode: yes
|
||||||
args:
|
args:
|
||||||
warn: no
|
warn: no
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
- name: Remount /usr if it is a partition and it is not mounted in rw
|
- name: Remount /usr if it is a partition and it is not mounted in rw
|
||||||
command: "mount -o remount,rw /usr"
|
command: "mount -o remount,rw /usr"
|
||||||
when: mount.rc == 0 and not mount.stdout_lines.0 | search("rw")
|
when:
|
||||||
|
- not ansible_check_mode
|
||||||
|
- mount.rc == 0
|
||||||
|
- not mount.stdout_lines.0 | search("rw")
|
||||||
|
check_mode: yes
|
||||||
args:
|
args:
|
||||||
warn: no
|
warn: no
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
- name: Remount /usr if it is a partition and it is not mounted in rw
|
- name: Remount /usr if it is a partition and it is not mounted in rw
|
||||||
command: "mount -o remount,rw /usr"
|
command: "mount -o remount,rw /usr"
|
||||||
when: mount.rc == 0 and not mount.stdout_lines.0 | search("rw")
|
when:
|
||||||
|
- not ansible_check_mode
|
||||||
|
- mount.rc == 0
|
||||||
|
- not mount.stdout_lines.0 | search("rw")
|
||||||
|
check_mode: yes
|
||||||
args:
|
args:
|
||||||
warn: no
|
warn: no
|
||||||
|
|
Loading…
Reference in a new issue