Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Create path for stream template deployment location #480

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tasks/config/template-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@

- name: Ensure NGINX stream directory exists
ansible.builtin.file:
path: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/') | dirname }}"
path: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream/') | dirname }}"
state: directory
mode: "0755"
loop: "{{ nginx_config_stream_template }}"
loop_control:
label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/') | dirname }}"
label: "{{ item['deployment_location'] | default('/etc/nginx/conf.d/stream/') | dirname }}"
when: nginx_config_stream_template_enable | bool

- name: Dynamically generate NGINX stream config files
Expand Down