todo/deployment/todo-setup.yml
kjuulh fa79c7df7c
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
update pr
2021-11-14 20:03:27 +01:00

17 lines
482 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: /home/hermansen/git/git.kjuulh.io/kjuulh/todo/src/
build: true
files:
- docker-compose.prod.yml