Update nodepool test roles to use nodepool_pip_virtualenv
This is the same as we did for zuul tests. Change-Id: Ib474d2c2eb771032de4f1cf3ea39ee6b8545e2ce Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
93f3880da8
commit
0fa7bd5de3
|
@ -12,12 +12,12 @@
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Register /opt/venv/nodepool
|
- name: "Register {{ nodepool_pip_virtualenv }}"
|
||||||
stat:
|
stat:
|
||||||
path: /opt/venv/nodepool
|
path: /opt/venv/nodepool
|
||||||
register: test_nodepool_pip_virtualenv_stat
|
register: test_nodepool_pip_virtualenv_stat
|
||||||
|
|
||||||
- name: Assert /opt/venv/nodepool tests
|
- name: "Assert {{ nodepool_pip_virtualenv }} tests"
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- test_nodepool_pip_virtualenv_stat.stat.exists
|
- test_nodepool_pip_virtualenv_stat.stat.exists
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
- name: Validate /etc/nodepool/nodepool.yaml
|
- name: Validate /etc/nodepool/nodepool.yaml
|
||||||
become: true
|
become: true
|
||||||
become_user: nodepool
|
become_user: nodepool
|
||||||
command: /opt/venv/nodepool/bin/nodepool -c /etc/nodepool/nodepool.yaml config-validate
|
command: "{{ nodepool_pip_virtualenv }}/bin/nodepool -c /etc/nodepool/nodepool.yaml config-validate"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Ensure nodepool-builder is running
|
- name: Ensure nodepool-builder is running
|
||||||
|
|
|
@ -12,12 +12,12 @@
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Register /opt/venv/nodepool
|
- name: "Register {{ nodepool_pip_virtualenv }}"
|
||||||
stat:
|
stat:
|
||||||
path: /opt/venv/nodepool
|
path: /opt/venv/nodepool
|
||||||
register: test_nodepool_pip_virtualenv_stat
|
register: test_nodepool_pip_virtualenv_stat
|
||||||
|
|
||||||
- name: Assert /opt/venv/nodepool tests
|
- name: "Assert {{ nodepool_pip_virtualenv }} tests"
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- test_nodepool_pip_virtualenv_stat.stat.exists
|
- test_nodepool_pip_virtualenv_stat.stat.exists
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
- name: Validate /etc/nodepool/nodepool.yaml
|
- name: Validate /etc/nodepool/nodepool.yaml
|
||||||
become: true
|
become: true
|
||||||
become_user: nodepool
|
become_user: nodepool
|
||||||
command: /opt/venv/nodepool/bin/nodepool -c /etc/nodepool/nodepool.yaml config-validate
|
command: "{{ nodepool_pip_virtualenv }}/bin/nodepool -c /etc/nodepool/nodepool.yaml config-validate"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Ensure nodepool-launcher is running
|
- name: Ensure nodepool-launcher is running
|
||||||
|
|
Loading…
Reference in New Issue