aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorforest <forest.n.johnson@gmail.com>2021-01-13 16:48:49 -0600
committerforest <forest.n.johnson@gmail.com>2021-01-13 16:48:49 -0600
commit41ac320a3fc6aeff4745de164b5addb48db36537 (patch)
tree6fef58b7c7170ec434c14dfb26d0f908e77b2ef8
parentb33a9510f24e60ad894bc764a8cb2e147a8e9965 (diff)
downloadops-handbook-41ac320a3fc6aeff4745de164b5addb48db36537.tar.gz
ops-handbook-41ac320a3fc6aeff4745de164b5addb48db36537.tar.bz2
small fixes
-rw-r--r--ansible/roles/nginx-custom-configs/tasks/main.yml1
-rw-r--r--ansible/roles/nginx/tasks/main.yml2
2 files changed, 2 insertions, 1 deletions
diff --git a/ansible/roles/nginx-custom-configs/tasks/main.yml b/ansible/roles/nginx-custom-configs/tasks/main.yml
index 6abd05f..c7243fb 100644
--- a/ansible/roles/nginx-custom-configs/tasks/main.yml
+++ b/ansible/roles/nginx-custom-configs/tasks/main.yml
@@ -1,3 +1,4 @@
+---
- name: Write nginx custom configs
copy:
src: "{{ item }}"
diff --git a/ansible/roles/nginx/tasks/main.yml b/ansible/roles/nginx/tasks/main.yml
index b163ae7..b9b0821 100644
--- a/ansible/roles/nginx/tasks/main.yml
+++ b/ansible/roles/nginx/tasks/main.yml
@@ -21,7 +21,7 @@
# We need to determine whether or not the tls_certs variable changed since the last time ansible was run.
# we use a file /etc/nginx/ansible_automation_tls_certs_list to achieve this
# first we touch the file (create an empty file if no file with that name existed)
-# then we make a copy of the file named /etc/nginx/ansible_automation_tls_certs_list_last
+# then we make a copy of the file, naming the copy /etc/nginx/ansible_automation_tls_certs_list_last
# Finally, we write the tls_certs variable to the file via a jinja2 template
# and we compare the two, the copy of the original and the one we just wrote.
- name: ensure /etc/nginx/ansible_automation_tls_certs_list exists