correcciones, deja funcionando despliegue de VPN en el proxy

This commit is contained in:
Bet@
2024-09-06 21:52:01 -04:00
parent f0e4dbb7e0
commit 1d85e24f63
3 changed files with 7 additions and 5 deletions

View File

@ -4,7 +4,7 @@ matrix:
roles:
- rap
nodos:
- marmite
# - marmite
- chem
- service_name: marmita

View File

@ -23,7 +23,7 @@
- name: inicializar el nodo
shell:
cmd: "./rap init -i {{ nodo }}"
cmd: "./rap init -f -i {{ nodo }}"
chdir: "{{ rap_path }}/rap"
environment:
NETWORK: comun

View File

@ -6,14 +6,16 @@
- name: copiar el codigo fuente
synchronize:
src: ../roles/rap/code/rap
src: ../roles/rap/code/rap/
dest: "{{ rap_path }}"
perms: true
rsync_opts:
- "--exclude=.git"
- name: agregar nodos a la VPN
shell:
cmd: "./rap add-host {{ althost }} {{ nodo }}"
chdir: "{{ rap_path }}/rap"
chdir: "{{ rap_path }}"
environment:
NETWORK: comun
with_items: "{{ item.nodos }}"
@ -23,6 +25,6 @@
- name: actualizar la VPN
shell:
cmd: "./rap install {{ althost }}"
chdir: "{{ rap_path }}/rap"
chdir: "{{ rap_path }}"
environment:
NETWORK: comun