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
26d74094a7
commit
a8c14f4bc5
|
@ -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…
Reference in New Issue