Added akounting draft

This commit is contained in:
2022-01-18 19:08:45 +01:00
parent 2b63574ec9
commit deac995a98
6 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
---
- name: recieve {{domain}} certificate
command: certbot certonly --agree-tos --email {{administrator_email}} --non-interactive --webroot -w /var/lib/letsencrypt/ -d {{domain}}
- name: configure {{domain}}.conf
template: src=roles/native-docker-reverse-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
notify: restart nginx
- name: pull docker repository
git:
repo: "https://github.com/akaunting/docker.git"
dest: "/home/administrator/docker-compose/akaunting/"
update: yes
- name: configure db.env
template: src=db.env.j2 dest=/home/administrator/docker-compose/akaunting/env/db.env
notify: setup akounting
- name: configure run.env
template: src=run.env.j2 dest=/home/administrator/docker-compose/akaunting/env/run.env
notify: setup akounting