osbs-master: be sure to have htpasswd file in place before starting origin-master
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
5592720c13
commit
142af1d2ef
1 changed files with 10 additions and 5 deletions
|
@ -53,6 +53,16 @@
|
|||
src: "{{private}}/files/osbs/{{env}}/osbs-internal.key"
|
||||
dest: "/etc/origin/master/named_certificates/{{osbs_url}}.key"
|
||||
|
||||
- name: ensure origin conf dir exists
|
||||
file:
|
||||
path: "/etc/origin"
|
||||
state: "directory"
|
||||
|
||||
- name: place htpasswd file
|
||||
copy:
|
||||
src: "{{private}}/files/httpd/osbs.htpasswd"
|
||||
dest: /etc/origin/htpasswd
|
||||
|
||||
- name: setup osbs
|
||||
hosts: osbs:osbs-stg
|
||||
vars_files:
|
||||
|
@ -179,11 +189,6 @@
|
|||
|
||||
|
||||
handlers:
|
||||
- name: place htpasswd file
|
||||
copy:
|
||||
src: "{{private}}/files/httpd/osbs.htpasswd"
|
||||
dest: /etc/origin/htpasswd
|
||||
|
||||
- name: buildroot container
|
||||
shell: atomic-reactor create-build-image --reactor-tarball-path /usr/share/atomic-reactor/atomic-reactor.tar.gz /etc/osbs/buildroot/ buildroot
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue