2016-12-16 12:26:29 +01:00
|
|
|
---
|
|
|
|
- include: packages.yml
|
|
|
|
|
2017-01-12 16:23:42 +01:00
|
|
|
- name: Check if /usr is a partition
|
|
|
|
shell: "mount | grep 'on /usr type'"
|
|
|
|
args:
|
|
|
|
warn: no
|
|
|
|
changed_when: False
|
|
|
|
failed_when: False
|
2017-03-24 14:15:09 +01:00
|
|
|
check_mode: no
|
|
|
|
|
2017-01-12 16:23:42 +01:00
|
|
|
register: usr_partition
|
|
|
|
|
2016-12-16 12:26:29 +01:00
|
|
|
- name: Mount /usr in rw
|
2017-01-12 16:23:42 +01:00
|
|
|
command: mount -o remount,rw /usr
|
|
|
|
args:
|
|
|
|
warn: no
|
2016-12-16 12:26:29 +01:00
|
|
|
changed_when: False
|
2017-01-12 16:23:42 +01:00
|
|
|
when: usr_partition.rc == 0
|
2016-12-16 12:26:29 +01:00
|
|
|
|
|
|
|
- include: munin.yml
|
2017-02-16 14:52:35 +01:00
|
|
|
- include: images.yml
|