mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-12-04 21:13:38 +01:00
24 lines
642 B
YAML
24 lines
642 B
YAML
---
|
|
- name: Display
|
|
hosts: servers
|
|
gather_facts: false
|
|
tasks:
|
|
- name: Fix git config
|
|
community.general.git_config:
|
|
scope: global
|
|
name: merge.conflictstyle
|
|
value: diff3
|
|
- name: Pull git repo
|
|
ansible.builtin.git:
|
|
executable: /usr/bin/git
|
|
repo: https://git.augendre.info/gaugendre/display.git
|
|
dest: "{{ dir }}/sources"
|
|
version: HEAD # noqa: latest[git] # we want the latest revision
|
|
- name: Docker
|
|
ansible.builtin.include_role:
|
|
name: docker
|
|
|
|
vars:
|
|
docker_app_name: display
|
|
docker_build: always
|
|
dir: /mnt/data/{{ docker_app_name }}
|