Petr Ospalý | e347ccc | 2018-12-19 14:52:07 +0100 | [diff] [blame] | 1 | --- |
| 2 | - name: Perform common environment setup for nodes |
| 3 | hosts: infrastructure, kubernetes |
Petr Ospalý | e347ccc | 2018-12-19 14:52:07 +0100 | [diff] [blame] | 4 | roles: |
Samuli Silvius | 79bfeda | 2019-02-12 21:08:26 +0200 | [diff] [blame] | 5 | - package-repository |
Petr Ospalý | e347ccc | 2018-12-19 14:52:07 +0100 | [diff] [blame] | 6 | - role: firewall |
Petr Ospalý | e347ccc | 2018-12-19 14:52:07 +0100 | [diff] [blame] | 7 | |
| 8 | - name: Setup infrastructure servers |
| 9 | hosts: infrastructure |
| 10 | roles: |
| 11 | - certificates |
| 12 | - docker |
| 13 | - dns |
| 14 | - vncserver |
Petr Ospalý | e347ccc | 2018-12-19 14:52:07 +0100 | [diff] [blame] | 15 | - nginx |
Samuli Silvius | f6f5fc4 | 2019-02-13 11:00:39 +0200 | [diff] [blame] | 16 | - nexus |
Petr Ospalý | e347ccc | 2018-12-19 14:52:07 +0100 | [diff] [blame] | 17 | |
| 18 | - name: Setup base for Kubernetes nodes |
| 19 | hosts: kubernetes |
| 20 | roles: |
| 21 | - docker |
| 22 | tasks: |
| 23 | - import_tasks: roles/certificates/tasks/upload_root_ca.yml |
Samuli Silvius | e9fca5e | 2019-03-03 13:34:16 +0200 | [diff] [blame^] | 24 | vars: |
| 25 | certificates_local_dir: certs |