forked from openshift/installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.yaml
26 lines (24 loc) · 952 Bytes
/
common.yaml
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
- hosts: localhost
gather_facts: no
vars_files:
- metadata.json
tasks:
- name: 'Compute resource names'
set_fact:
cluster_id_tag: "openshiftClusterID={{ infraID }}"
primary_cluster_network_tag: "{{ infraID }}-primaryClusterNetwork"
os_infra_id: "{{ infraID }}"
os_port_bootstrap: "{{ infraID }}-bootstrap-port"
os_port_master: "{{ infraID }}-master-port"
os_port_worker: "{{ infraID }}-worker-port"
# Security groups names
os_sg_master: "{{ infraID }}-master"
os_sg_worker: "{{ infraID }}-worker"
# Server names
os_bootstrap_server_name: "{{ infraID }}-bootstrap"
os_cp_server_name: "{{ infraID }}-master"
os_cp_server_group_name: "{{ infraID }}-master"
os_compute_server_name: "{{ infraID }}-worker"
os_compute_server_group_name: "{{ infraID }}-worker"
# Ignition files
os_bootstrap_ignition: "{{ infraID }}-bootstrap-ignition.json"