This commit is contained in:
SebClem 2024-04-10 10:12:51 +02:00
parent 0bc261afe6
commit 21312737ca
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50
4 changed files with 2 additions and 29 deletions

View File

@ -6,5 +6,5 @@
},
"ansible.ansible.useFullyQualifiedCollectionNames": true,
"editor.formatOnSave": true,
"ansible.python.interpreterPath": "/bin/python3"
"ansible.python.interpreterPath": "/root/.virtualenvs/ansible/bin/python"
}

View File

@ -1,20 +0,0 @@
---
- name: Install Loki docker driver
community.docker.docker_plugin:
plugin_name: grafana/loki-docker-driver:latest
alias: loki
state: present
- name: Enable Loki docker driver
community.docker.docker_plugin:
plugin_name: loki
state: enable
- name: Add docker deamon.json
ansible.builtin.template:
src: daemon.json.j2
dest: /etc/docker/daemon.json
owner: root
group: root
mode: u=rw,g=r,o=r
notify: Restart Docker

View File

@ -13,9 +13,3 @@
ansible.builtin.import_tasks: configure.yml
tags:
- loki_configure
- name: Install docker driver
ansible.builtin.import_tasks: docker_driver.yml
when: loki_docker_driver
tags:
- loki_configure

View File

@ -35,4 +35,3 @@
- python3-dnspython
- python3-docker
update_cache: true