Skip to content

Commit

Permalink
use pipe instead of colon for task names
Browse files Browse the repository at this point in the history
  • Loading branch information
acozine committed Sep 25, 2023
1 parent f84787f commit 68efd90
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions roles/nginxplus/tasks/conf/upload-config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: "Setup: Upload NGINX Main Configuration File"
- name: Setup | Upload NGINX Main Configuration File
copy:
src: "{{ nginx_main_upload_src }}"
dest: "{{ nginx_main_upload_dest }}"
Expand All @@ -8,21 +8,21 @@
notify: Reload NGINX
when: nginx_main_upload_enable

- name: "Setup: Ensure NGINX HTTP Directory Exists"
- name: Setup | Ensure NGINX HTTP Directory Exists
file:
path: "{{ nginx_http_upload_dest }}"
state: directory
mode: 0755
when: nginx_http_upload_enable

- name: "Setup: Ensure NGINX template Directory Exists"
- name: Setup | Ensure NGINX template Directory Exists
file:
path: "{{ nginx_template_upload_dest }}"
state: directory
mode: 0755
when: nginx_template_upload_enable

- name: Setup: Upload NGINX HTTP Configuration Files
- name: Setup | Upload NGINX HTTP Configuration Files
copy:
src: "{{ item }}"
dest: "{{ nginx_http_upload_dest }}"
Expand All @@ -33,7 +33,7 @@
when: nginx_http_upload_enable
tags: update_conf

- name: Setup: Ensure cache directories exist
- name: Setup | Ensure cache directories exist
file:
path: /tmp/nginx/{{ item.short_name }}/NGINX_cache
# path: /data/nginx/{{ item.short_name }}/NGINX_cache
Expand All @@ -43,7 +43,7 @@
loop: "{{ sites }}"
tags: test_conf

- name: Setup: Upload NGINX template Configuration Files
- name: Setup | Upload NGINX static template Files
copy:
src: "{{ item }}"
dest: "{{ nginx_template_upload_dest }}"
Expand All @@ -54,7 +54,7 @@
when: nginx_template_upload_enable
tags: update_conf

- name: Setup: Upload NGINX template Configuration Files
- name: Setup | Upload NGINX templated configuration files
template:
src: http/library.conf.j2
dest: /tmp/{{ item.name }}.conf
Expand All @@ -65,15 +65,15 @@
loop: "{{ sites }}"
tags: test_conf

- name: "Setup: Ensure NGINX Stream Directory Exists"
- name: Setup | Ensure NGINX Stream Directory Exists
file:
path: "{{ nginx_stream_upload_dest }}"
state: directory
mode: 0755
when: nginx_stream_upload_enable
tags: update_conf

- name: "Setup: Upload NGINX Stream Configuration Files"
- name: Setup | Upload NGINX Stream Configuration Files
copy:
src: "{{ item }}"
dest: "{{ nginx_stream_upload_dest }}"
Expand All @@ -84,15 +84,15 @@
when: nginx_stream_upload_enable
tags: update_conf

- name: "Setup: Ensure NGINX HTML Directory Exists"
- name: Setup | Ensure NGINX HTML Directory Exists
file:
path: "{{ nginx_html_upload_dest }}"
state: directory
mode: 0755
when: nginx_html_upload_enable
tags: update_conf

- name: "Setup: Upload NGINX HTML Files"
- name: Setup | Upload NGINX HTML Files
copy:
src: "{{ item }}"
dest: "{{ nginx_html_upload_dest }}"
Expand All @@ -103,22 +103,22 @@
when: nginx_html_upload_enable
tags: update_conf

- name: "Setup: Ensure SSL Certificate Directory Exists"
- name: Setup | Ensure SSL Certificate Directory Exists
file:
path: "{{ nginx_ssl_crt_upload_dest }}"
state: directory
mode: 0755
when: nginx_ssl_upload_enable

- name: "Setup: Ensure SSL Key Directory Exists"
- name: Setup | Ensure SSL Key Directory Exists
file:
path: "{{ nginx_ssl_key_upload_dest }}"
state: directory
mode: 0755
when: nginx_ssl_upload_enable
tags: SSL

- name: "Setup: Upload NGINX SSL Certificates"
- name: Setup | Upload NGINX SSL Certificates
copy:
src: "{{ item }}"
dest: "{{ nginx_ssl_crt_upload_dest }}"
Expand All @@ -129,7 +129,7 @@
when: nginx_ssl_upload_enable
tags: SSL

- name: "(Setup: All NGINX) Upload NGINX SSL Keys"
- name: Setup | All NGINX | Upload NGINX SSL Keys
copy:
src: "{{ item }}"
dest: "{{ nginx_ssl_key_upload_dest }}"
Expand Down

0 comments on commit 68efd90

Please sign in to comment.