ansible-roles/kvm-host/tasks/main.yml

27 lines
447 B
YAML
Raw Normal View History

2016-12-16 12:26:29 +01:00
---
2017-07-19 01:34:13 +02:00
## TODO: check why it's disabled
2017-06-07 17:02:26 +02:00
#- include: ssh.yml
2017-05-19 22:29:28 +02:00
2016-12-16 12:26:29 +01:00
- include: packages.yml
- 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
register: usr_partition
2016-12-16 12:26:29 +01:00
- name: Mount /usr in rw
command: mount -o remount,rw /usr
args:
warn: no
2016-12-16 12:26:29 +01:00
changed_when: False
when: usr_partition.rc == 0
2016-12-16 12:26:29 +01:00
- include: munin.yml
2017-05-19 22:29:28 +02:00
2017-02-16 14:52:35 +01:00
- include: images.yml