Definiere Abhängigkeit für tasks
This commit is contained in:
parent
d36c4b96e3
commit
9e20a502d3
2 changed files with 6 additions and 4 deletions
|
@ -4,5 +4,3 @@ munin_sql_user: munin
|
||||||
munin_sql_password: za8x5sECY6pP2GWdR36UKYP7tHFodvRLyr6f5wAt7D
|
munin_sql_password: za8x5sECY6pP2GWdR36UKYP7tHFodvRLyr6f5wAt7D
|
||||||
mysql_server_config_file: /etc/mysql/mariadb.conf.d/50-server.cnf
|
mysql_server_config_file: /etc/mysql/mariadb.conf.d/50-server.cnf
|
||||||
mysql_socket: /run/mysqld/mysqld.sock
|
mysql_socket: /run/mysqld/mysqld.sock
|
||||||
scripts_path: /data/scripts
|
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,11 @@
|
||||||
# tasks file for mariadb
|
# tasks file for mariadb
|
||||||
|
|
||||||
- import_tasks: packages.yml
|
- import_tasks: packages.yml
|
||||||
- import_tasks: munin.yml
|
|
||||||
|
- name: "Munin"
|
||||||
|
include_tasks: munin.yml
|
||||||
|
when: "'munin' in ansible_facts.packages"
|
||||||
|
tags: munin
|
||||||
|
|
||||||
- import_tasks: cron.yml
|
- import_tasks: cron.yml
|
||||||
- import_tasks: mariadb.yml
|
- import_tasks: mariadb.yml
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue