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
(cherry picked from commit bc963815ca
)
This commit is contained in:
parent
fffeb4bb66
commit
8d5df339dd
@ -13,19 +13,10 @@
|
||||
# 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'
|
||||
tags:
|
||||
- install-apt
|
||||
|
||||
- include: galera_upgrade_check_yum.yml
|
||||
static: no
|
||||
when:
|
||||
- ansible_pkg_mgr == 'yum'
|
||||
- include: "galera_upgrade_check_{{ ansible_pkg_mgr }}.yml"
|
||||
tags:
|
||||
- install-apt
|
||||
- install-yum
|
||||
|
||||
- include: galera_upgrade_pre.yml
|
||||
static: no
|
||||
|
Loading…
Reference in New Issue
Block a user