diff --git a/renew-certs.yaml b/renew-certs.yaml index 397a5df06d4c7c25ef306e9f924f225ba92809dc..449561a8438fa720a0f5e7b6be34dd48f2c8ab2d 100644 --- a/renew-certs.yaml +++ b/renew-certs.yaml @@ -26,7 +26,11 @@ tasks: - 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: handlers: - Restart Nginx on ns4 @@ -37,7 +41,11 @@ - ns4 - 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: handlers: - Restart Nginx on host01 @@ -48,7 +56,11 @@ - host01 - 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: delegate_host: host01 filename: mail