20 lines
518 B
YAML
20 lines
518 B
YAML
---
|
|
- name: "Make agent Directory"
|
|
ansible.builtin.file:
|
|
path: "{{ datasaker_host_path }}/{{ item }}"
|
|
state: directory
|
|
recurse: yes
|
|
owner: root
|
|
group: root
|
|
with_items:
|
|
- "dsk-mysql-agent"
|
|
|
|
- name: "Create agent config"
|
|
ansible.builtin.file:
|
|
path: "{{ datasaker_host_path }}/dsk-mysql-agent/agent-config.yml"
|
|
state: touch
|
|
|
|
- name: "Setting dsk-mysql-agent config"
|
|
template:
|
|
src: mysql-agent-config.yml.j2
|
|
dest: "{{ datasaker_host_path }}/dsk-mysql-agent/agent-config.yml" |