kayobe/ansible/roles/kolla-openstack/tasks/main.yml
Mark Goddard a082bd2446 Support Kolla install from source
We need to make some downstream changes to Kolla currently, so let's install from source
rather than patching.
2017-02-16 10:44:27 +00:00

21 lines
684 B
YAML

---
- name: Ensure the Kolla OpenStack configuration directores exist
file:
path: "{{ kolla_node_custom_config_path }}/{{ item.name }}"
state: directory
mode: 0755
become: True
with_items:
- { name: swift, enabled: "{{ kolla_enable_swift }}" }
when: "{{ item.enabled | bool }}"
- name: Ensure the Kolla OpenStack configuration files exist
template:
src: "{{ item.src }}"
dest: "{{ kolla_node_custom_config_path }}/{{ item.dest }}"
mode: 0644
become: True
with_items:
- { src: glance.conf.j2, dest: glance.conf, enabled: "{{ kolla_enable_glance }}" }
- { src: ironic.conf.j2, dest: ironic.conf, enabled: "{{ kolla_enable_ironic }}" }