summaryrefslogtreecommitdiff
path: root/openstack/usr/share/openstack/nova-config.yml
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-06-02 08:40:27 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-06-02 13:56:08 +0000
commit02faf51e91a8c55adfbb6d953bca354ab99bf261 (patch)
treeeff61e6fe9bb3adcf254c4e86eebca7190c65cce /openstack/usr/share/openstack/nova-config.yml
parent65ddf13f13ab68c1c5728e40dd81f1e8826ab0cf (diff)
downloaddefinitions-02faf51e91a8c55adfbb6d953bca354ab99bf261.tar.gz
Move all the directories used for install-files into a subdirectorybaserock/adamcoldrick/all-exts-in-definitions-v2
Change-Id: I309c183ce8b9ff9d0f5ac4807244547f2cc4ddf5
Diffstat (limited to 'openstack/usr/share/openstack/nova-config.yml')
-rw-r--r--openstack/usr/share/openstack/nova-config.yml34
1 files changed, 0 insertions, 34 deletions
diff --git a/openstack/usr/share/openstack/nova-config.yml b/openstack/usr/share/openstack/nova-config.yml
deleted file mode 100644
index 4f43db39..00000000
--- a/openstack/usr/share/openstack/nova-config.yml
+++ /dev/null
@@ -1,34 +0,0 @@
----
-- hosts: localhost
- vars_files:
- - "/etc/openstack/nova.conf"
- tasks:
- - name: Create the nova user.
- user:
- name: nova
- comment: Openstack Nova Daemons
- shell: /sbin/nologin
- home: /var/lib/nova
- groups: libvirt
- append: yes
-
- - name: Create the /var folders for nova
- file:
- path: "{{ item }}"
- state: directory
- owner: nova
- group: nova
- with_items:
- - /var/run/nova
- - /var/lock/nova
- - /var/log/nova
- - /var/lib/nova
- - /var/lib/nova/instances
-
- - file: path=/etc/nova state=directory
- - name: Add the configuration needed for nova in /etc/nova using templates
- template:
- src: /usr/share/openstack/nova/{{ item }}
- dest: /etc/nova/{{ item }}
- with_lines:
- - cd /usr/share/openstack/nova && find -type f