rol proxy incluye al rol knsupdate antes de certbot

es en el proxy! que se ejecuta knsupdate, q de hecho es una forma de actualizar el DNS de sutty como desde este api
This commit is contained in:
Bet@ 2024-09-11 17:35:16 -03:00
parent 79f052d2a7
commit 87b77339c5
6 changed files with 9 additions and 7 deletions

View File

@ -32,7 +32,6 @@ matrix:
nodo: ka.comun
ssl: yes
#### AQI SUS NODES
#END NODES

View File

@ -18,6 +18,5 @@
with_items: "{{ matrix_loop }}"
loop_control:
loop_var: vhost
tags: knsupdate
tags: knot

View File

@ -2,3 +2,5 @@
apt:
name: "knot-dnsutils"
state: "present"
- include_tasks: loop.yml

View File

@ -1,5 +1,3 @@
- include_vars: dir="../vars" files_matching="main.yml"
- set_fact:
vho: "{{ vhost.domains[0] | regex_replace('([a-z0-9]+)\\.abyaya\\.la', '\\1')}}"

View File

@ -2,6 +2,10 @@
include_role: name=dnsmasq
tags: dns
- name: knsupdate
include_role: name=knsupdate
tags: knot
- name: certbot role
include_role: name=certbot
tags: certbot

View File

@ -1,5 +1,5 @@
# Instalacion de KNOT - por ahora se ejecuta contra sutty, con variable host (local) e inventario especificado
# ansible-playbook --become tasks/knot.yml -e "host=localhost" -i hosts.local
# ansible-playbook --become tasks/knot.yml -e "host=localhost alt=abyayala" -i hosts.local
---
- hosts: "{{ host }}"
tasks: