Mark Goddard 5304c0a489 Add a data store for ironic inspector introspection data
In environments without Swift we are currently unable to store hardware
introspection data. The inspection_store container runs an nginx server
that supports a restricted Swift-like HTTP API using WebDAV that supports
upload and retrieval of introspection data.
2017-09-01 18:21:10 +00:00

18 lines
487 B
YAML

---
- name: Ensure inspection store configuration path exists
file:
path: "{{ inspection_store_config_path }}"
state: directory
owner: "{{ ansible_env.USER }}"
group: "{{ ansible_env.USER }}"
mode: 0750
become: True
- name: Ensure inspection store server is configured
template:
src: nginx.conf
dest: "{{ inspection_store_config_path }}/nginx.conf"
notify:
- Restart inspection store container
- Ensure inspection store data directory exists