lazydocker (#168)

task name

lazydocker container

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#168
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
Michael Grote 2021-07-21 10:10:42 +02:00
parent a12ced1e7c
commit 40dc9e079d
5 changed files with 17 additions and 1 deletions

View file

@ -19,3 +19,7 @@
repository_user: mg repository_user: mg
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}" repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
state: absent state: absent
- name: lazydocker
dir_name: docker-lazydocker
repository_url: git.mgrote.net/mg/docker-lazydocker
state: present

View file

@ -16,6 +16,10 @@
dir_name: docker-homer dir_name: docker-homer
repository_url: git.mgrote.net/mg/docker-homer repository_url: git.mgrote.net/mg/docker-homer
state: present state: present
- name: lazydocker
dir_name: docker-lazydocker
repository_url: git.mgrote.net/mg/docker-lazydocker
state: present
- name: unifi-controller - name: unifi-controller
dir_name: docker-unifi-controller dir_name: docker-unifi-controller
repository_url: git.mgrote.net/mg/docker-unifi-controller repository_url: git.mgrote.net/mg/docker-unifi-controller

View file

@ -31,3 +31,7 @@
dir_name: docker-watchtower dir_name: docker-watchtower
repository_url: git.mgrote.net/mg/docker-watchtower repository_url: git.mgrote.net/mg/docker-watchtower
state: present state: present
- name: lazydocker
dir_name: docker-lazydocker
repository_url: git.mgrote.net/mg/docker-lazydocker
state: present

View file

@ -12,3 +12,7 @@
state: present state: present
repository_user: mg repository_user: mg
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}" repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
- name: lazydocker
dir_name: docker-lazydocker
repository_url: git.mgrote.net/mg/docker-lazydocker
state: present

View file

@ -25,7 +25,7 @@
changed_when: false changed_when: false
when: repo_exists.stat.exists == true when: repo_exists.stat.exists == true
- name: clone public repository - "{{ item.name }}" - name: clone repository - "{{ item.name }}"
ansible.builtin.git: ansible.builtin.git:
repo: "https://{{ login | default () }}{{ item.repository_url }}" repo: "https://{{ login | default () }}{{ item.repository_url }}"
dest: "{{ project_dir }}" dest: "{{ project_dir }}"