Cleanup
This commit is contained in:
parent
0bc261afe6
commit
21312737ca
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -6,5 +6,5 @@
|
|||||||
},
|
},
|
||||||
"ansible.ansible.useFullyQualifiedCollectionNames": true,
|
"ansible.ansible.useFullyQualifiedCollectionNames": true,
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"ansible.python.interpreterPath": "/bin/python3"
|
"ansible.python.interpreterPath": "/root/.virtualenvs/ansible/bin/python"
|
||||||
}
|
}
|
||||||
|
@ -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
|
|
@ -13,9 +13,3 @@
|
|||||||
ansible.builtin.import_tasks: configure.yml
|
ansible.builtin.import_tasks: configure.yml
|
||||||
tags:
|
tags:
|
||||||
- loki_configure
|
- loki_configure
|
||||||
|
|
||||||
- name: Install docker driver
|
|
||||||
ansible.builtin.import_tasks: docker_driver.yml
|
|
||||||
when: loki_docker_driver
|
|
||||||
tags:
|
|
||||||
- loki_configure
|
|
||||||
|
@ -30,9 +30,8 @@
|
|||||||
|
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name:
|
name:
|
||||||
- unzip
|
- unzip
|
||||||
- python3-dnspython
|
- python3-dnspython
|
||||||
- python3-docker
|
- python3-docker
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user