Use dynamic includes to save time
This patch adds a dynamic include for installing packages via yum or apt. It avoids having so many skipped tasks and should save some time during gate runs. Change-Id: I953764b7bb95df0625993a31ba4effc8b81499aa
This commit is contained in:
parent
22b7d9c761
commit
1bfb4553ad
@ -13,18 +13,11 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- include: galera_client_install_apt.yml
|
||||
- include: "galera_client_install_{{ ansible_pkg_mgr }}.yml"
|
||||
when:
|
||||
- ansible_pkg_mgr == 'apt'
|
||||
- galera_client_package_install | bool
|
||||
tags:
|
||||
- install-apt
|
||||
|
||||
- include: galera_client_install_yum.yml
|
||||
when:
|
||||
- ansible_pkg_mgr == 'yum'
|
||||
- galera_client_package_install | bool
|
||||
tags:
|
||||
- install-yum
|
||||
|
||||
- name: Install pip packages
|
||||
|
Loading…
Reference in New Issue
Block a user