add osbs-openshift tag to all plays in osbs specific to osbs/openshift

This commit is contained in:
Adam Miller 2015-08-07 21:06:56 +00:00
parent 05b4e7d2f4
commit 972c7a650c

View file

@ -83,6 +83,8 @@
- 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
tags:
- osbs-openshift
- name: docker-registry
hosts: openshift_masters
@ -97,6 +99,9 @@
name: docker-registry
state: started
enabled: yes
tags:
- osbs-openshift
- name: atomic-reactor install and config
hosts: openshift_masters
@ -118,6 +123,9 @@
- 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
tags:
- osbs-openshift
- name: atomic-reactor install and config
hosts: openshift_masters
user: root
@ -139,6 +147,9 @@
- name: Push the fedora image to builder local registry
shell: docker push localhost:5000/fedora
tags:
- osbs-openshift
- name: OSBS Configuration - OpenShift Auth
hosts: openshift_masters
user: root
@ -150,6 +161,9 @@
- name: Set role-to-group for OSBS system:authenticated
shell: oadm policy add-role-to-group edit system:authenticated
tags:
- osbs-openshift
- name: OSBS Client tools config
hosts: openshift_masters:openshift_nodes
user: root
@ -162,4 +176,6 @@
- copy:
src: "{{ files }}/osbs/osbs.conf"
dest: /etc/osbs.conf
tags:
- osbs-openshift