add osbs-openshift tag to all plays in osbs specific to osbs/openshift
This commit is contained in:
parent
05b4e7d2f4
commit
972c7a650c
1 changed files with 16 additions and 0 deletions
|
@ -83,6 +83,8 @@
|
||||||
- name: add OpenShift internal registry
|
- name: add OpenShift internal registry
|
||||||
shell: /usr/bin/oadm registry --create=true --credentials=/etc/openshift/master/openshift-registry.kubeconfig --mount-host=/var/lib/openshift/docker-registry --service-account=registry
|
shell: /usr/bin/oadm registry --create=true --credentials=/etc/openshift/master/openshift-registry.kubeconfig --mount-host=/var/lib/openshift/docker-registry --service-account=registry
|
||||||
|
|
||||||
|
tags:
|
||||||
|
- osbs-openshift
|
||||||
|
|
||||||
- name: docker-registry
|
- name: docker-registry
|
||||||
hosts: openshift_masters
|
hosts: openshift_masters
|
||||||
|
@ -97,6 +99,9 @@
|
||||||
name: docker-registry
|
name: docker-registry
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
|
tags:
|
||||||
|
- osbs-openshift
|
||||||
|
|
||||||
- name: atomic-reactor install and config
|
- name: atomic-reactor install and config
|
||||||
hosts: openshift_masters
|
hosts: openshift_masters
|
||||||
|
@ -118,6 +123,9 @@
|
||||||
- name: Build atomic-reactor base image
|
- name: Build atomic-reactor base image
|
||||||
shell: atomic-reactor create-build-image --reactor-tarball-path /usr/share/atomic-reactor/atomic-reactor.tar.gz /usr/share/atomic-reactor/images/dockerhost-builder buildroot
|
shell: atomic-reactor create-build-image --reactor-tarball-path /usr/share/atomic-reactor/atomic-reactor.tar.gz /usr/share/atomic-reactor/images/dockerhost-builder buildroot
|
||||||
|
|
||||||
|
tags:
|
||||||
|
- osbs-openshift
|
||||||
|
|
||||||
- name: atomic-reactor install and config
|
- name: atomic-reactor install and config
|
||||||
hosts: openshift_masters
|
hosts: openshift_masters
|
||||||
user: root
|
user: root
|
||||||
|
@ -139,6 +147,9 @@
|
||||||
- name: Push the fedora image to builder local registry
|
- name: Push the fedora image to builder local registry
|
||||||
shell: docker push localhost:5000/fedora
|
shell: docker push localhost:5000/fedora
|
||||||
|
|
||||||
|
tags:
|
||||||
|
- osbs-openshift
|
||||||
|
|
||||||
- name: OSBS Configuration - OpenShift Auth
|
- name: OSBS Configuration - OpenShift Auth
|
||||||
hosts: openshift_masters
|
hosts: openshift_masters
|
||||||
user: root
|
user: root
|
||||||
|
@ -150,6 +161,9 @@
|
||||||
- name: Set role-to-group for OSBS system:authenticated
|
- name: Set role-to-group for OSBS system:authenticated
|
||||||
shell: oadm policy add-role-to-group edit system:authenticated
|
shell: oadm policy add-role-to-group edit system:authenticated
|
||||||
|
|
||||||
|
tags:
|
||||||
|
- osbs-openshift
|
||||||
|
|
||||||
- name: OSBS Client tools config
|
- name: OSBS Client tools config
|
||||||
hosts: openshift_masters:openshift_nodes
|
hosts: openshift_masters:openshift_nodes
|
||||||
user: root
|
user: root
|
||||||
|
@ -162,4 +176,6 @@
|
||||||
- copy:
|
- copy:
|
||||||
src: "{{ files }}/osbs/osbs.conf"
|
src: "{{ files }}/osbs/osbs.conf"
|
||||||
dest: /etc/osbs.conf
|
dest: /etc/osbs.conf
|
||||||
|
tags:
|
||||||
|
- osbs-openshift
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue