-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIMM_Chassis_Profile_Playbook.yaml
More file actions
46 lines (39 loc) · 1.81 KB
/
IMM_Chassis_Profile_Playbook.yaml
File metadata and controls
46 lines (39 loc) · 1.81 KB
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
42
43
44
45
46
---
- name: Configure Chassis
hosts: localhost
connection: local
gather_facts: false
vars_files:
# Common Variables
- ./variables/authentication.yaml
- ./variables/org.yaml
- ./variables/tags.yaml
- ./variables/kvm-ip-pool-inband.yaml
- ./variables/imcAccess.yaml
- ./variables/power.yaml
# Profile Specific Variables
- ./variables/chassis/chassis.yaml
- ./variables/chassis/thermal.yaml
tasks:
# All tasks needs an organization. We will create it if it doesn't already exist.
- name: Getting the Organization MOID, which we need for basically everything
ansible.builtin.import_tasks: ./tasks/getOrganization.yaml
##################################################################################
# Create Chassis Policy
##################################################################################
- name: "Create Chassis Policy"
ansible.builtin.import_tasks: ./tasks/chassis/chassis.yaml
##################################################################################
# These are common policies that can potentially be used with other policies
##################################################################################
- name: "Create KVM Pool"
ansible.builtin.import_tasks: ./tasks/kvm-ip-pool-inband.yaml
- name: "Create IMC Policy"
ansible.builtin.import_tasks: ./tasks/imcAccess.yaml
- name: "Create Power`` Policy"
ansible.builtin.import_tasks: ./tasks/power.yaml
##################################################################################
# These are specific to Chassis Policies only.
##################################################################################
- name: "Create Thermal Policy"
ansible.builtin.import_tasks: ./tasks/chassis/thermal.yaml