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:
parent
79f052d2a7
commit
87b77339c5
@ -32,7 +32,6 @@ matrix:
|
|||||||
nodo: ka.comun
|
nodo: ka.comun
|
||||||
ssl: yes
|
ssl: yes
|
||||||
|
|
||||||
|
#### AQI SUS NODES
|
||||||
|
|
||||||
|
|
||||||
#END NODES
|
#END NODES
|
||||||
|
@ -18,6 +18,5 @@
|
|||||||
with_items: "{{ matrix_loop }}"
|
with_items: "{{ matrix_loop }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: vhost
|
loop_var: vhost
|
||||||
|
tags: knot
|
||||||
tags: knsupdate
|
|
||||||
|
|
||||||
|
@ -2,3 +2,5 @@
|
|||||||
apt:
|
apt:
|
||||||
name: "knot-dnsutils"
|
name: "knot-dnsutils"
|
||||||
state: "present"
|
state: "present"
|
||||||
|
|
||||||
|
- include_tasks: loop.yml
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
- include_vars: dir="../vars" files_matching="main.yml"
|
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
vho: "{{ vhost.domains[0] | regex_replace('([a-z0-9]+)\\.abyaya\\.la', '\\1')}}"
|
vho: "{{ vhost.domains[0] | regex_replace('([a-z0-9]+)\\.abyaya\\.la', '\\1')}}"
|
||||||
|
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
include_role: name=dnsmasq
|
include_role: name=dnsmasq
|
||||||
tags: dns
|
tags: dns
|
||||||
|
|
||||||
|
- name: knsupdate
|
||||||
|
include_role: name=knsupdate
|
||||||
|
tags: knot
|
||||||
|
|
||||||
- name: certbot role
|
- name: certbot role
|
||||||
include_role: name=certbot
|
include_role: name=certbot
|
||||||
tags: certbot
|
tags: certbot
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Instalacion de KNOT - por ahora se ejecuta contra sutty, con variable host (local) e inventario especificado
|
# 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 }}"
|
- hosts: "{{ host }}"
|
||||||
tasks:
|
tasks:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user