24 lines
557 B
YAML
24 lines
557 B
YAML
---
|
|
- name: Clone wallabag docker
|
|
ansible.builtin.git:
|
|
repo: https://github.com/wallabag/docker.git
|
|
dest: "{{ wallabag_build_path }}"
|
|
version: master
|
|
|
|
- name: Build wallabag image
|
|
community.docker.docker_image:
|
|
name: copyrights/wallabag
|
|
tag: latest
|
|
build:
|
|
path: "{{ wallabag_build_path }}"
|
|
pull: true
|
|
nocache: "{{ force_recreate | default(false) }}"
|
|
source: build
|
|
force_source: true
|
|
state: present
|
|
become: true
|
|
retries: 3
|
|
delay: 60
|
|
until: current_task is not failed
|
|
register: current_task
|