Add zuul_task_manager to expose control of tasks
There might be a time were we only want run the pre task, so rather then copying the code into another modules, just allow the user to override the task list that runs. Change-Id: I97a40294ac3332bcce20ca4e3458c9988816c6c7 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
# NOTE(pabelanger): This needs to be here for now, since we need python-pip.
|
||||
- name: Ensure EPEL is enabled.
|
||||
become: yes
|
||||
package:
|
||||
name: epel-release
|
||||
state: installed
|
||||
@@ -26,6 +27,7 @@
|
||||
ansible_os_family == 'RedHat'
|
||||
|
||||
- name: Ensure build dependencies are installed.
|
||||
become: yes
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
@@ -37,6 +39,7 @@
|
||||
# TODO(pabelanger): Remove once https://review.openstack.org/#/c/316387/ has
|
||||
# been merged.
|
||||
- name: Install missing pip dependencies
|
||||
become: yes
|
||||
pip:
|
||||
name: "{{ item }}"
|
||||
with_items:
|
||||
|
||||
Reference in New Issue
Block a user