Skip to content
Snippets Groups Projects
Commit fa573604 authored by nimrod's avatar nimrod
Browse files

Tag the included tasks in the renew-certs playbook.

Otherwise nothing is done.
parent 859f46db
No related branches found
No related tags found
No related merge requests found
Pipeline #765 passed
...@@ -26,7 +26,11 @@ ...@@ -26,7 +26,11 @@
tasks: tasks:
- name: Issue certificate for ns4 - name: Issue certificate for ns4
include_tasks: '{{ playbook_dir }}/tasks/renew-cert.yaml' include_tasks:
apply:
tags:
- ns4
file: '{{ playbook_dir }}/tasks/renew-cert.yaml'
vars: vars:
handlers: handlers:
- Restart Nginx on ns4 - Restart Nginx on ns4
...@@ -37,7 +41,11 @@ ...@@ -37,7 +41,11 @@
- ns4 - ns4
- name: Issue certificate for host01 - name: Issue certificate for host01
include_tasks: '{{ playbook_dir }}/tasks/renew-cert.yaml' include_tasks:
apply:
tags:
- host01
file: '{{ playbook_dir }}/tasks/renew-cert.yaml'
vars: vars:
handlers: handlers:
- Restart Nginx on host01 - Restart Nginx on host01
...@@ -48,7 +56,11 @@ ...@@ -48,7 +56,11 @@
- host01 - host01
- name: Issue certificate for smtp - name: Issue certificate for smtp
include_tasks: '{{ playbook_dir }}/tasks/renew-cert.yaml' include_tasks:
apply:
tags:
- smtp
file: '{{ playbook_dir }}/tasks/renew-cert.yaml'
vars: vars:
delegate_host: host01 delegate_host: host01
filename: mail filename: mail
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment