ensure correct host groups for tasks in osbs-orchestrator-cluster
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
7b2c0aa468
commit
18cc373c33
1 changed files with 39 additions and 38 deletions
|
@ -256,7 +256,7 @@
|
||||||
|
|
||||||
|
|
||||||
- name: Setup OSBS requirements for OpenShift cluster hosts
|
- name: Setup OSBS requirements for OpenShift cluster hosts
|
||||||
hosts: osbs-masters-stg:osbs-nodes-stg:osbsworker-masters-stg:osbsworker-nodes-stg
|
hosts: osbs-orchestrators-stg:osbs-workers-stg
|
||||||
tags:
|
tags:
|
||||||
- osbs-cluster-req
|
- osbs-cluster-req
|
||||||
user: root
|
user: root
|
||||||
|
@ -434,7 +434,7 @@
|
||||||
dest: serverca
|
dest: serverca
|
||||||
|
|
||||||
- name: Setup Koji auth for OpenShift Orchestrator
|
- name: Setup Koji auth for OpenShift Orchestrator
|
||||||
hosts: osbs-masters-stg[0]
|
hosts: osbs-masters-stg[0]:osbsworker-x86-64-masters-stg[0]
|
||||||
tags:
|
tags:
|
||||||
- osbs-master-req
|
- osbs-master-req
|
||||||
user: root
|
user: root
|
||||||
|
@ -505,7 +505,7 @@
|
||||||
creates: /etc/origin/fedoraimagestreamcreated
|
creates: /etc/origin/fedoraimagestreamcreated
|
||||||
|
|
||||||
- name: post-install osbs tasks
|
- name: post-install osbs tasks
|
||||||
hosts: osbs-masters-stg:osbs-nodes-stg
|
hosts: osbs-orchestrators-stg:osbs-workers-stg
|
||||||
tags:
|
tags:
|
||||||
- osbs-post-install
|
- osbs-post-install
|
||||||
vars_files:
|
vars_files:
|
||||||
|
@ -536,39 +536,40 @@
|
||||||
- name: systemctl daemon-reload
|
- name: systemctl daemon-reload
|
||||||
shell: 'systemctl daemon-reload'
|
shell: 'systemctl daemon-reload'
|
||||||
|
|
||||||
roles:
|
# FIXME - Not sure if this is needed anymore because of the osbs-namespace role
|
||||||
- {
|
# roles:
|
||||||
role: osbs-client,
|
# - {
|
||||||
general: {
|
# role: osbs-client,
|
||||||
verbose: 0,
|
# general: {
|
||||||
build_json_dir: '/etc/osbs/input/',
|
# verbose: 0,
|
||||||
openshift_required_version: 1.1.0,
|
# build_json_dir: '/etc/osbs/input/',
|
||||||
},
|
# openshift_required_version: 1.1.0,
|
||||||
default: {
|
# },
|
||||||
username: "{{ osbs_koji_stg_username }}",
|
# default: {
|
||||||
password: "{{ osbs_koji_stg_password }}",
|
# username: "{{ osbs_koji_stg_username }}",
|
||||||
koji_use_kerberos: True,
|
# password: "{{ osbs_koji_stg_password }}",
|
||||||
koji_kerberos_keytab: "FILE:/etc/krb5.osbs_{{osbs_url}}.keytab",
|
# koji_use_kerberos: True,
|
||||||
koji_kerberos_principal: "osbs/{{osbs_url}}@{{ipa_realm}}",
|
# koji_kerberos_keytab: "FILE:/etc/krb5.osbs_{{osbs_url}}.keytab",
|
||||||
openshift_url: 'https://{{osbs_url}}/',
|
# koji_kerberos_principal: "osbs/{{osbs_url}}@{{ipa_realm}}",
|
||||||
registry_uri: 'https://{{candidate_registry}}/v2',
|
# openshift_url: 'https://{{osbs_url}}/',
|
||||||
source_registry_uri: 'https://{{stable_registry}}/v2',
|
# registry_uri: 'https://{{candidate_registry}}/v2',
|
||||||
build_host: '{{osbs_url}}',
|
# source_registry_uri: 'https://{{stable_registry}}/v2',
|
||||||
koji_root: '{{koji_root}}',
|
# build_host: '{{osbs_url}}',
|
||||||
koji_hub: '{{koji_hub}}',
|
# koji_root: '{{koji_root}}',
|
||||||
sources_command: 'fedpkg sources',
|
# koji_hub: '{{koji_hub}}',
|
||||||
build_type: 'prod',
|
# sources_command: 'fedpkg sources',
|
||||||
authoritative_registry: '{{stable_registry}}',
|
# build_type: 'prod',
|
||||||
vendor: 'Fedora Project',
|
# authoritative_registry: '{{stable_registry}}',
|
||||||
verify_ssl: true,
|
# vendor: 'Fedora Project',
|
||||||
use_auth: true,
|
# verify_ssl: true,
|
||||||
builder_use_auth: true,
|
# use_auth: true,
|
||||||
distribution_scope: 'private',
|
# builder_use_auth: true,
|
||||||
registry_api_versions: 'v2',
|
# distribution_scope: 'private',
|
||||||
builder_openshift_url: 'https://{{osbs_url}}'
|
# registry_api_versions: 'v2',
|
||||||
},
|
# builder_openshift_url: 'https://{{osbs_url}}'
|
||||||
when: env == "staging"
|
# },
|
||||||
}
|
# when: env == "staging"
|
||||||
|
# }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: copy docker iptables script
|
- name: copy docker iptables script
|
||||||
|
@ -694,5 +695,5 @@
|
||||||
- name: enable nrpe for monitoring (noc01)
|
- name: enable nrpe for monitoring (noc01)
|
||||||
iptables: action=insert chain=INPUT destination_port=5666 protocol=tcp source=10.5.126.41 state=present jump=ACCEPT
|
iptables: action=insert chain=INPUT destination_port=5666 protocol=tcp source=10.5.126.41 state=present jump=ACCEPT
|
||||||
|
|
||||||
# - name: enable nrpe for monitoring (noc01.stg)
|
- name: enable nrpe for monitoring (noc01.stg)
|
||||||
# iptables: action=insert chain=INPUT destination_port=5666 protocol=tcp source=1#0.5.126.2 state=present jump=ACCEPT
|
iptables: action=insert chain=INPUT destination_port=5666 protocol=tcp source=10.5.126.2 state=present jump=ACCEPT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue