-
Notifications
You must be signed in to change notification settings - Fork 1
/
name.yml
37 lines (35 loc) · 1009 Bytes
/
name.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
---
- hosts: localhost
gather_facts: no
connection: localhost
tasks:
- name: Set Region
set_fact: region_id="1"
when: region == "Abu_Dhabi"
- name: Set Region
set_fact: region_id="2"
when: region == "Dubai"
- name: Set Region
set_fact: region_id="3"
when: region == "Old_Abu_Dhabi"
- name: Set Tenant
set_fact: tenant_id="001"
when: tenant == "Abu_Dhabi"
- name: Set tenant
set_fact: tenant_id="002"
when: tenant == "Dubai"
- name: Set tenant
set_fact: tenant_id="003"
when: tenant == "Old_Abu_Dhabi"
- name: Set tenant
set_fact: tenant_id="00"
when: tenant == "Old_Abu_Dhabi"
- name: Set tenant
set_fact: tenant_id="3"
when: tenant == "Old_Abu_Dhabi"
- name: Set tenant
set_fact: tenant_id="3"
when: tenant == "Old_Abu_Dhabi"
- name: Debug
debug:
msg: "{{ tenant_id }}"