Delegiere database-tasks als Ganzes

This commit is contained in:
phil 2022-12-13 12:56:25 +01:00
parent c8cd8ac1a4
commit 484e0d5627
2 changed files with 1 additions and 2 deletions

View file

@ -5,7 +5,6 @@
state: present
login_unix_socket: "{{ mysql_socket }}"
login_user: root
delegate_to: "{{ database_host }}"
- name: "database | Erstelle Benuzter"
ansible.builtin.mysql_user:
@ -17,4 +16,3 @@
state: present
login_unix_socket: "{{ mysql_socket }}"
login_user: root
delegate_to: "{{ database_host }}"

View file

@ -7,6 +7,7 @@
- import_tasks: database.yml
tags: database
delegate_to: "{{ database_host }}"
- import_tasks: lstu.yml
tags: lstu