Delegiere database-tasks als Ganzes
This commit is contained in:
parent
c8cd8ac1a4
commit
484e0d5627
2 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@
|
||||||
state: present
|
state: present
|
||||||
login_unix_socket: "{{ mysql_socket }}"
|
login_unix_socket: "{{ mysql_socket }}"
|
||||||
login_user: root
|
login_user: root
|
||||||
delegate_to: "{{ database_host }}"
|
|
||||||
|
|
||||||
- name: "database | Erstelle Benuzter"
|
- name: "database | Erstelle Benuzter"
|
||||||
ansible.builtin.mysql_user:
|
ansible.builtin.mysql_user:
|
||||||
|
@ -17,4 +16,3 @@
|
||||||
state: present
|
state: present
|
||||||
login_unix_socket: "{{ mysql_socket }}"
|
login_unix_socket: "{{ mysql_socket }}"
|
||||||
login_user: root
|
login_user: root
|
||||||
delegate_to: "{{ database_host }}"
|
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
- import_tasks: database.yml
|
- import_tasks: database.yml
|
||||||
tags: database
|
tags: database
|
||||||
|
delegate_to: "{{ database_host }}"
|
||||||
|
|
||||||
- import_tasks: lstu.yml
|
- import_tasks: lstu.yml
|
||||||
tags: lstu
|
tags: lstu
|
||||||
|
|
Loading…
Reference in a new issue