renaming folders after convert to collection

This commit is contained in:
2025-09-23 21:50:59 +01:00
parent c27c9dd1c9
commit 499fccf977
16 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
- name: Setup config File
become: true
ansible.builtin.copy:
dest: "/etc/docker/daemon.json"
content: |
{
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "3"
}
}
mode: '0644'
when: docker_log_driver == 'json-file'
notify:
- Restart Docker
- name: Setup Config File
become: true
ansible.builtin.copy:
dest: "/etc/docker/daemon.json"
content: |
{
"log-driver": "{{ docker_log_driver | default('json-file') }}"
}
mode: '0644'
when: docker_log_driver != 'json-file'
notify:
- Restart Docker