Dynamically include upgrade_check task files
Dynamically include the correct galera_upgrade_check task file based on the ansible_pkg_mgr variable. Change-Id: Icf7a2556fc303f8920a85873a6f44d4548b7f459
This commit is contained in:
parent
f46e152506
commit
bc963815ca
@ -13,18 +13,9 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- include: galera_upgrade_check_apt.yml
|
||||
static: no
|
||||
when:
|
||||
- ansible_pkg_mgr == 'apt'
|
||||
- include: galera_upgrade_check_{{ ansible_pkg_mgr }}.yml
|
||||
tags:
|
||||
- install-apt
|
||||
|
||||
- include: galera_upgrade_check_yum.yml
|
||||
static: no
|
||||
when:
|
||||
- ansible_pkg_mgr == 'yum'
|
||||
tags:
|
||||
- install-yum
|
||||
|
||||
- include: galera_upgrade_pre.yml
|
||||
|
Loading…
x
Reference in New Issue
Block a user