Refactor playbooks/nodepool-zuul-functional/pre.yaml
Instead of using tasks and roles together, create a new role and use it. This makes ordering easier to understand. This is followup for https://review.openstack.org/#/c/545158/14/playbooks/nodepool-zuul-functional/pre.yaml Change-Id: I5242e9333dd8761272731d1e5e8af2fd5ca5ee8f
This commit is contained in:
parent
89f0d11a6e
commit
1d1c88a89e
@ -4,12 +4,4 @@
|
|||||||
- role: bindep
|
- role: bindep
|
||||||
bindep_profile: default
|
bindep_profile: default
|
||||||
bindep_dir: "{{ zuul.projects['git.openstack.org/openstack-infra/zuul'].src_dir }}"
|
bindep_dir: "{{ zuul.projects['git.openstack.org/openstack-infra/zuul'].src_dir }}"
|
||||||
|
- nodepool-zuul-functional
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Install packages and run zuul-nodepool-integration/start.sh
|
|
||||||
shell:
|
|
||||||
cmd: |
|
|
||||||
sudo pip3 install .
|
|
||||||
./tools/zuul-nodepool-integration/start.sh
|
|
||||||
chdir: "{{ zuul.projects['git.openstack.org/openstack-infra/nodepool'].src_dir }}"
|
|
||||||
|
1
roles/nodepool-zuul-functional/README.rst
Normal file
1
roles/nodepool-zuul-functional/README.rst
Normal file
@ -0,0 +1 @@
|
|||||||
|
Prepare nodepool installation.
|
6
roles/nodepool-zuul-functional/tasks/main.yaml
Normal file
6
roles/nodepool-zuul-functional/tasks/main.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
- name: Install packages and run zuul-nodepool-integration/start.sh
|
||||||
|
shell:
|
||||||
|
cmd: |
|
||||||
|
sudo pip3 install .
|
||||||
|
./tools/zuul-nodepool-integration/start.sh
|
||||||
|
chdir: "{{ zuul.projects['git.openstack.org/openstack-infra/nodepool'].src_dir }}"
|
Loading…
x
Reference in New Issue
Block a user