16 lines
443 B
YAML
16 lines
443 B
YAML
- hosts: server
|
|
become: false
|
|
tasks:
|
|
- name: update from git
|
|
ansible.builtin.git:
|
|
repo: git@git.front.kjuulh.io:kjuulh/todo.git
|
|
dest: /home/hermansen/git/git.kjuulh.io/kjuulh/todo
|
|
single_branch: yes
|
|
version: production
|
|
|
|
- name: deploy remote docker containers using compose
|
|
community.docker.docker_compose:
|
|
project_src: ../src/
|
|
files:
|
|
- docker-compose.prod.yml
|