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
Loading
Loading
Loading
Loading
Loading
+15 −3
Original line number Diff line number Diff line
@@ -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