kayobe/ansible/roles/inspection-store/tasks/config.yml

18 lines
487 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"
notify:
- Restart inspection store container
- Ensure inspection store data directory exists