-
Notifications
You must be signed in to change notification settings - Fork 0
/
node_playbook.yml
41 lines (37 loc) · 1.01 KB
/
node_playbook.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
# SETUP
- name: setup user and distro information
import_playbook: setup_playbook.yml
# INSTALL NODE AND SERVICE
- name: install using package manager
hosts: all:!windows:!macos
remote_user: "{{ admin_user }}"
roles:
- role: install_deb
when: not updater_install and os_family == "Debian"
- role: install_rpm
when: not updater_install and os_family == "RedHat"
- name: install using updater script
hosts: all:!windows
remote_user: "{{ admin_user }}"
roles:
- role: install_other
when: updater_install
- role: update_setup
when: updater_install
- name: install using installation binary
hosts: windows
remote_user: "{{ admin_user }}"
roles:
- role: install_win
# POST-INSTALL CONFIGURATION
- name: node configuration
hosts: all
remote_user: "{{ admin_user }}"
roles:
- role: network_configuration
when: os_family != "Windows"
- role: node_sync
when: fast_catchup
# - role: telemetry
# when: os_family not in ("Darwin", "Windows")