summaryrefslogtreecommitdiffstats
path: root/ansible/roles/certificates/molecule/default/playbook.yml
blob: 13583ebbfe9659ac77b589cfcd4c3edc5b9d6240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
- name: Infra
  hosts: infrastructure
  handlers:
    - name: Restart Docker
      debug: msg="Docker restart called"
  roles:
    - certificates

- name: Kube
  hosts: kubernetes
  handlers:
    - name: Restart Docker
      debug: msg="Docker restart called"
  tasks:
    - include_role:
        name: certificates
        tasks_from: upload_root_ca.yml
      vars:
        certificates_local_dir: certs