update
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: Make agent Directory
|
||||
- name: "Make agent Directory"
|
||||
ansible.builtin.file:
|
||||
path: "/etc/datasaker/{{ item }}"
|
||||
path: "{{ datasaker_host_path }}/{{ item }}"
|
||||
state: directory
|
||||
recurse: yes
|
||||
owner: root
|
||||
@@ -9,7 +9,12 @@
|
||||
with_items:
|
||||
- "dsk-node-agent"
|
||||
|
||||
- name: "Create agent config"
|
||||
ansible.builtin.file:
|
||||
path: "{{ datasaker_host_path }}/dsk-node-agent/agent-config.yml"
|
||||
state: touch
|
||||
|
||||
- name: "Setting dsk-node-agent config"
|
||||
template:
|
||||
src: node-agent-config.yml.j2
|
||||
dest: "/etc/datasaker/dsk-node-agent/agent-config.yml"
|
||||
dest: "{{ datasaker_host_path }}/dsk-node-agent/agent-config.yml"
|
||||
Reference in New Issue
Block a user