forked from fabianvf/home-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
53 lines (49 loc) · 1.92 KB
/
config.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
42
43
44
45
46
47
48
49
50
51
52
53
---
###########################################################################
# User variables #
###########################################################################
openshift_installer_image_org: homecluster
openshift_installer_image_tag: latest
pull_policy: Always
ansible_ssh_extra_args : '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
###########################################################################
# Project variables #
# ----------------- #
# These should work as-is, modification is still possible but it will be #
# very easy to break things #
###########################################################################
openshift_host: 'https://{{ groups.first_master.0 }}:8443'
master_subdomain: '{{ groups.first_master.0.split(".")[1:] | join(".") }}'
awx_credential_file: /tmp/awx/credentials
tower_resources:
- resource: organization
content:
'-n': home-cluster
- resource: project
content:
'-n': openshift-ansible
'--organization': home-cluster
'--scm-type': git
'--scm-url': https://github.com/openshift/openshift-ansible.git
'--wait': ""
- resource: inventory
content:
'-n': home-cluster
'--organization': home-cluster
- resource: credential
content:
'-n': home-cluster
'--organization': home-cluster
'--credential-type': Machine
'--inputs': '@{{ awx_credential_file }}'
- resource: job_template
content:
'-n': scaleup
'-i': home-cluster
'--job-type': run
'--project': openshift-ansible
'--playbook': playbooks/openshift-node/scaleup.yml
'--credential': home-cluster
'--verbosity': verbose
'--become-enabled': true
'--allow-simultaneous': false