arregla bugs en seleccion de default vhost
y deshabilita synchronize peligroso al que ademas no le cabe 'creates'
This commit is contained in:
parent
780a848f25
commit
219ede45ec
@ -16,7 +16,7 @@
|
||||
template:
|
||||
src: "{{ default_vhost }}"
|
||||
dest: "{{ vhost_dest }}"
|
||||
when: custom_vhost is undefined or custom_vhost is not is_file
|
||||
when: (vhost.roles is undefined or vhost.roles[0] == 'proxy') or (custom_vhost is undefined or custom_vhost is not is_file)
|
||||
notify:
|
||||
- reload proxy
|
||||
|
||||
@ -24,6 +24,6 @@
|
||||
template:
|
||||
src: "{{ custom_vhost }}"
|
||||
dest: "{{ vhost_dest }}"
|
||||
when: custom_vhost is defined and custom_vhost is is_file
|
||||
when: (vhost.roles is defined and vhost.roles[0] != 'proxy') and custom_vhost is defined and custom_vhost is is_file
|
||||
notify:
|
||||
- reload proxy
|
||||
|
@ -4,15 +4,16 @@
|
||||
state: present
|
||||
tags: installation
|
||||
|
||||
- name: copiar el codigo fuente
|
||||
synchronize:
|
||||
src: ../roles/rap/code/rap/
|
||||
dest: "{{ rap_path }}"
|
||||
perms: true
|
||||
rsync_opts:
|
||||
- "--exclude=.git"
|
||||
tags: rap
|
||||
creates: "{{ rap_path }}"
|
||||
# TODO: ERROR! conflicting action statements: synchronize, creates
|
||||
# - name: copiar el codigo fuente
|
||||
# synchronize:
|
||||
# src: ../roles/rap/code/rap/
|
||||
# dest: "{{ rap_path }}"
|
||||
# perms: true
|
||||
# rsync_opts:
|
||||
# - "--exclude=.git"
|
||||
# tags: rap
|
||||
# creates: "{{ rap_path }}"
|
||||
|
||||
- name: agregar nodos a la VPN
|
||||
shell:
|
||||
|
Loading…
x
Reference in New Issue
Block a user