Browse Source
Depends-On: https://review.opendev.org/763101 Change-Id: I67c08418df38d31a01c2ecf114aa52daf8af185c Signed-off-by: Paul Belanger <pabelanger@redhat.com>changes/15/763115/8
8 changed files with 92 additions and 0 deletions
@ -0,0 +1,31 @@
|
||||
# Copyright 2016 Red Hat, Inc. |
||||
# |
||||
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
# you may not use this file except in compliance with the License. |
||||
# You may obtain a copy of the License at |
||||
# |
||||
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
# |
||||
# Unless required by applicable law or agreed to in writing, software |
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
||||
# License for the specific language governing permissions and limitations |
||||
# under the License. |
||||
--- |
||||
- name: "Register {{ zuul_registry_pip_virtualenv }}" |
||||
stat: |
||||
path: "{{ zuul_registry_pip_virtualenv }}" |
||||
register: test_zuul_registry_pip_virtualenv_stat |
||||
|
||||
- name: "Assert {{ zuul_registry_pip_virtualenv }} tests" |
||||
assert: |
||||
that: |
||||
- test_zuul_registry_pip_virtualenv_stat.stat.exists |
||||
- test_zuul_registry_pip_virtualenv_stat.stat.isdir |
||||
|
||||
- name: Ensure zuul-registry is running |
||||
become: true |
||||
shell: /usr/sbin/service zuul-registry status |
||||
changed_when: false |
||||
tags: |
||||
- skip_ansible_lint |
@ -0,0 +1,21 @@
|
||||
# Copyright 2018 Red Hat, Inc. |
||||
# |
||||
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
# you may not use this file except in compliance with the License. |
||||
# You may obtain a copy of the License at |
||||
# |
||||
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
# |
||||
# Unless required by applicable law or agreed to in writing, software |
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
||||
# License for the specific language governing permissions and limitations |
||||
# under the License. |
||||
--- |
||||
- name: Bootstrap zuul-registry hosts |
||||
hosts: zuul-registry:!disabled |
||||
|
||||
tasks: |
||||
- name: Setup windmill.zuul-registry role |
||||
include_role: |
||||
name: windmill.zuul-registry |
Loading…
Reference in new issue