-
Notifications
You must be signed in to change notification settings - Fork 0
/
playbook_install_media_linux.yml
35 lines (32 loc) · 1.23 KB
/
playbook_install_media_linux.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
# $Copyright: Copyright (c) 2024 Veritas Technologies LLC. All rights reserved $
# NetBackup Server - Install - Media Server
- name: NETBACKUP -> MEDIA SERVER INSTALL
gather_facts: true
become: yes
hosts: all
pre_tasks:
- name: Retrieving host distribution
setup:
gather_subset:
- "!all"
- "!min"
- "distribution"
- name: "NBU-{{ nbu_role|upper }}-{{ nbu_playbook_type|upper }} -> Load configurable variables"
ansible.builtin.include_vars: "vars/linux.yml"
tags: ["always"]
no_log: True
roles:
- role: 'netbackup/linux' # Load netbackup default vars
- role: 'generic/os_compatibility'
- role: 'generic/is_nbu_version_supported'
- role: 'generic/nbu_compatibility'
- role: 'netbackup/linux/pre-install-os-task/v1.1' # Perform pre-upgrade tasks - OS related
- role: 'netbackup/linux/nbu-media-install/v1.1'
- role: 'netbackup/common/nbu-get-certificate/v1.1'
- role: 'generic/nbu_verification' # Verifies certificate specific checks and report
- role: 'netbackup/linux/nbu-install-eeb/v1.1'
vars:
# Role Control
nbu_role: "media"
nbu_playbook_type: "install"
#EOF