Scott Solkhon ec56393590 Task to generate nginx.conf in inspection-store missing become: True
Change-Id: Idf1e7b1e7018d1324326c3b8b8cb04f2e27ee0d2
2019-12-04 11:52:38 +00:00

19 lines
502 B
YAML

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