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 |
Bartek Grzybowski | 4e2e9e8 | 2019-03-13 09:33:53 +0100 | [diff] [blame] | 6 | - firewall |
Petr Ospalý | e347ccc | 2018-12-19 14:52:07 +0100 | [diff] [blame] | 7 | |
8 | - name: Setup infrastructure servers | ||||
9 | hosts: infrastructure | ||||
10 | roles: | ||||
Bartek Grzybowski | 30b2cbf | 2019-03-26 16:10:10 +0100 | [diff] [blame] | 11 | - chrony |
Bartek Grzybowski | 4e2e9e8 | 2019-03-13 09:33:53 +0100 | [diff] [blame] | 12 | - package-repository-check |
Petr Ospalý | e347ccc | 2018-12-19 14:52:07 +0100 | [diff] [blame] | 13 | - certificates |
14 | - docker | ||||
15 | - dns | ||||
16 | - vncserver | ||||
Petr Ospalý | e347ccc | 2018-12-19 14:52:07 +0100 | [diff] [blame] | 17 | - nginx |
Samuli Silvius | f6f5fc4 | 2019-02-13 11:00:39 +0200 | [diff] [blame] | 18 | - nexus |
Petr Ospalý | e347ccc | 2018-12-19 14:52:07 +0100 | [diff] [blame] | 19 | |
20 | - name: Setup base for Kubernetes nodes | ||||
Michal Zegan | 81a5673 | 2019-05-28 17:05:01 +0200 | [diff] [blame] | 21 | hosts: kubernetes:!infrastructure |
Petr Ospalý | e347ccc | 2018-12-19 14:52:07 +0100 | [diff] [blame] | 22 | roles: |
Bartek Grzybowski | 30b2cbf | 2019-03-26 16:10:10 +0100 | [diff] [blame] | 23 | - chrony |
Bartek Grzybowski | 4e2e9e8 | 2019-03-13 09:33:53 +0100 | [diff] [blame] | 24 | - package-repository-check |
Petr Ospalý | e347ccc | 2018-12-19 14:52:07 +0100 | [diff] [blame] | 25 | - docker |
26 | tasks: | ||||
Michal Ptacek | 200ae72 | 2019-03-21 12:32:20 +0000 | [diff] [blame] | 27 | - include_role: |
28 | name: certificates | ||||
29 | tasks_from: upload_root_ca.yml | ||||
Samuli Silvius | e9fca5e | 2019-03-03 13:34:16 +0200 | [diff] [blame] | 30 | vars: |
Samuli Silvius | 379df9c | 2019-03-26 10:24:39 +0200 | [diff] [blame] | 31 | certificates_local_dir: "{{ playbook_dir }}/certs" |