Mark Goddard 968b4f5405 Add a molecule scenario for kolla-openstack - enable-everything
This scenario enables all services, and checks that expected
configuration files are generated. More validation of configuration file
contents could be added in future.
2018-02-21 10:33:07 +00:00

24 lines
663 B
YAML

---
- name: Prepare
hosts: all
gather_facts: false
tasks:
- name: Ensure ironic inspector kernel and ramdisk image directory exists
local_action:
module: file
path: "{{ item | dirname }}"
state: directory
recurse: True
with_items:
- "{{ kolla_inspector_ipa_kernel_path }}"
- "{{ kolla_inspector_ipa_ramdisk_path }}"
- name: Ensure ironic inspector kernel and ramdisk images exist
local_action:
module: file
path: "{{ item }}"
state: touch
with_items:
- "{{ kolla_inspector_ipa_kernel_path }}"
- "{{ kolla_inspector_ipa_ramdisk_path }}"