ansible-infra/playbooks/deploy_engelsystem.yaml

21 lines
484 B
YAML
Raw Normal View History

2023-07-06 22:14:08 +02:00
---
- name: Configure engelsystem.z9 with engelsystem
hosts: engelsystem
roles:
- nginx
- cert
- docker
- docker_compose
pre_tasks:
- name: Install git
ansible.builtin.apt:
name: git
state: present
- name: Clone engelsystem repo
ansible.builtin.git:
repo: https://github.com/engelsystem/engelsystem.git
dest: "{{ ansible_user_dir }}/engelsystem"
version: main
force: true
update: false