33 lines
637 B
YAML
33 lines
637 B
YAML
---
|
|
|
|
## TODO: check why it's disabled
|
|
#- include: ssh.yml
|
|
|
|
- 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
|
|
check_mode: no
|
|
register: usr_partition
|
|
|
|
- name: Mount /usr in rw
|
|
command: mount -o remount,rw /usr
|
|
args:
|
|
warn: no
|
|
changed_when: False
|
|
when: usr_partition.rc == 0
|
|
|
|
- name: Copy add-vm script
|
|
get_url:
|
|
url: https://forge.evolix.org/projects/kvm-tools/repository/revisions/master/raw/add-vm.sh
|
|
dest: /usr/share/scripts/add-vm.sh
|
|
mode: "0750"
|
|
|
|
- include: munin.yml
|
|
|
|
- include: images.yml
|