forked from ISTI-ansible-roles/ansible-roles
library/roles/openvpn/tasks/openvpn.yml: Comment out the tasks that copy the key files. They do not work (ansible bug?).
This commit is contained in:
parent
ac81ef9c32
commit
4d918e0bd0
|
@ -88,17 +88,19 @@
|
|||
when: openvpn_is_master_host or not openvpn_ha
|
||||
tags: [ 'openvpn', 'openvpn_conf' ]
|
||||
|
||||
- block:
|
||||
- name: Get the dh file from the master host
|
||||
synchronize: src={{ openvpn_conf_dir }}/dh2048.pem dest=rsync://{{ ansible_fqdn }}/{{ openvpn_conf_dir }}/dh2048.pem mode=0440 owner=root group=root
|
||||
delegate_to: '{{ openvpn_master_host }}'
|
||||
# Does not work right now. The error is
|
||||
# fatal: [gw2.d4science.org -> gw1.d4science.org]: FAILED! => {"changed": false, "failed": true, "msg": "Boolean root not in either boolean list"}
|
||||
# - block:
|
||||
# - name: Get the dh file from the master host
|
||||
# synchronize: src={{ openvpn_conf_dir }}/dh2048.pem dest=rsync://root@{{ ansible_fqdn }}/{{ openvpn_conf_dir }}/dh2048.pem
|
||||
# delegate_to: '{{ openvpn_master_host }}'
|
||||
|
||||
- name: Get the ta key from the master host
|
||||
synchronize: src={{ openvpn_conf_dir }}/ta.key dest=rsync://{{ ansible_fqdn }}/{{ openvpn_conf_dir }}/ta.key mode=0440 owner=root group=root
|
||||
delegate_to: '{{ openvpn_master_host }}'
|
||||
# - name: Get the ta key from the master host
|
||||
# synchronize: src={{ openvpn_conf_dir }}/ta.key dest=rsync://root@{{ ansible_fqdn }}/{{ openvpn_conf_dir }}/ta.key
|
||||
# delegate_to: '{{ openvpn_master_host }}'
|
||||
|
||||
when: openvpn_ha and not openvpn_is_master_host
|
||||
tags: [ 'openvpn', 'openvpn_conf', 'openvpn_shared_secrets' ]
|
||||
# when: openvpn_ha and not openvpn_is_master_host
|
||||
# tags: [ 'openvpn', 'openvpn_conf', 'openvpn_shared_secrets' ]
|
||||
|
||||
|
||||
- block:
|
||||
|
|
Loading…
Reference in New Issue