template 추가

This commit is contained in:
havelight-ee
2023-04-07 11:24:56 +09:00
parent 33ae4b345d
commit d74721cb2c
14 changed files with 222 additions and 32 deletions

View File

@@ -0,0 +1,15 @@
---
- name: Make agent Directory
ansible.builtin.file:
path: "/etc/datasaker/{{ item }}"
state: directory
recurse: yes
owner: root
group: root
with_items:
- "dsk-plan-postgres-agent"
- name: "Setting dsk-plan-postgres-agent config"
template:
src: plan-postgres-agent-config.yml.j2
dest: "/etc/datasaker/dsk-plan-postgres-agent/agent-config.yml"