CJ_Clippy 8ef71691e0
Some checks are pending
fp/our CI/CD / build (push) Waiting to run
ci / test (push) Waiting to run
use container port 3000
2025-10-07 04:12:07 -08:00

33 lines
603 B
YAML

---
- name: Debuggy
debug:
msg: "our_published_port={{ our_published_port }}"
- name: Configure firewall
community.general.ufw:
rule: allow
port: "{{ item }}"
proto: tcp
loop:
- 80
- 443
- name: Install Caddy
ansible.builtin.import_role:
name: nvjacobo.caddy
notify: Restart caddy
- name: Create html dir
ansible.builtin.file:
state: directory
dest: /usr/share/futureporn
mode: "0644"
- name: Configure Caddyfile
ansible.builtin.template:
src: 'templates/Caddyfile.j2'
dest: /etc/caddy/Caddyfile
mode: "0644"
notify: Reload caddy