Added variables for ceph and nova compute

This commit is contained in:
Egon Rijpkema
2018-06-20 15:48:31 +02:00
parent 06db21ef4c
commit 7cc4e17189
3 changed files with 49 additions and 37 deletions

View File

@ -22,8 +22,8 @@
state: directory
mode: 0777
with_items:
- /srv/nova-compute
- /srv/nova-compute/etc/ceph
- /srv/nova-compute
- /srv/nova-compute/etc/ceph
- name: copy ceph-client configurationfile
copy:
@ -46,16 +46,22 @@
group: root
tags: systemd
- name: set ceph client keyring
copy:
content: "{{ceph_client_keyring}}"
dest: /srv/nova-compute/etc/ceph
when: use_ceph
- command: systemctl daemon-reload
tags: systemd
- apt:
name: "{{ item }}"
with_items:
- kvm
- libvirt0
- libvirt-bin
- qemu
- kvm
- libvirt0
- libvirt-bin
- qemu
- name: make sure service is started
systemd: