feat: Buncha shit

This commit is contained in:
Lino Silva
2023-03-25 23:54:00 +00:00
parent fe17c6eb69
commit a43c1593d9
88 changed files with 354 additions and 52 deletions
@@ -0,0 +1,20 @@
---
- name: Create directory for docker-compose
ansible.builtin.file:
path: /root/docker/swag/
state: directory
mode: "0755"
- name: Copy docker-compose file
template:
src: "docker-compose.yml"
dest: /root/docker/swag/docker-compose.yml
owner: root
group: root
mode: 0755
- name: Run docker-compose
ansible.builtin.shell:
args:
cmd: docker compose up -d
chdir: /root/docker/swag/
@@ -0,0 +1,11 @@
version: '3'
services:
app:
image: oznu/cloudflare-ddns:latest
container_name: cloudflare-ddns
restart: always
environment:
- API_KEY={{ cloudflare_ddns_api_key }}
- ZONE=lino.cooking
- PROXIED=false