This commit is contained in:
root
2023-06-21 22:42:00 +09:00
parent a209a9b25c
commit cb468e04ca
13 changed files with 262 additions and 56 deletions

View File

@@ -25,16 +25,21 @@
path: "{{ item }}"
state: directory
recurse: yes
owner: root
group: root
with_items:
- "{{ datasaker_docker_config_path }}"
when:
- datasaker_docker_agents
- name: "Touch agent config"
ansible.builtin.file:
path: "{{ datasaker_docker_global_config }}"
state: touch
when:
- datasaker_docker_agents
- name: "Setting global-config"
template:
src: global-config.yml.j2
dest: "{{ datasaker_docker_global_config }}"
when:
- datasaker_docker_agents
- datasaker_docker_agents