Merge "Add support for multiple playbooks"

This commit is contained in:
Zuul 2018-02-13 05:25:12 +00:00 committed by Gerrit Code Review
commit 08e76d2e3e

View File

@ -121,6 +121,7 @@ workflows:
extra_vars: <% {'fetch_directory'=> $.fetch_directory} + $.mgr_vars + $.mon_vars + $.osd_vars + $.mds_vars + $.rgw_vars + $.nfs_vars + $.client_vars + $.rbdmirror_vars + $.ceph_ansible_extra_vars %> extra_vars: <% {'fetch_directory'=> $.fetch_directory} + $.mgr_vars + $.mon_vars + $.osd_vars + $.mds_vars + $.rgw_vars + $.nfs_vars + $.client_vars + $.rbdmirror_vars + $.ceph_ansible_extra_vars %>
on-success: ceph_install on-success: ceph_install
ceph_install: ceph_install:
with-items: playbook in <% list($.ceph_ansible_playbook).flatten() %>
action: tripleo.ansible-playbook action: tripleo.ansible-playbook
input: input:
inventory: inventory:
@ -142,7 +143,7 @@ workflows:
hosts: <% let(root => $) -> $.client_ips.toDict($, $root.ips_data.get($, {})) %> hosts: <% let(root => $) -> $.client_ips.toDict($, $root.ips_data.get($, {})) %>
all: all:
vars: <% $.extra_vars %> vars: <% $.extra_vars %>
playbook: <% $.ceph_ansible_playbook %> playbook: <% $.playbook %>
remote_user: tripleo-admin remote_user: tripleo-admin
become: true become: true
become_user: root become_user: root