Skip to content

Commit

Permalink
fix: use include_tasks instead of include
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger committed Jan 12, 2022
1 parent 43a63df commit f0dd84d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
# [rolehippie.docker](https://github.com/rolehippie/docker)
# @end
galaxy_info:
role_name: mariadb
namespace: rolehippie
author: Thomas Boerger
description: Ansible role to install and configure a simple MariaDB
license: Apache-2.0
Expand Down
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@

- name: Include galera tasks
when: mariadb_galera_enabled | default(False)
include: galera.yml
include_tasks: galera.yml
tags:
- mariadb

Expand Down Expand Up @@ -263,7 +263,7 @@

- name: Include exporter tasks
when: mariadb_exporter_enabled | default(False)
include: exporter.yml
include_tasks: exporter.yml
tags:
- mariadb
- mariadb-exporter
Expand Down

0 comments on commit f0dd84d

Please sign in to comment.