Handle unreachable rproxy when deploying lrproxy
This commit is contained in:
parent
4f3c9988ef
commit
80461775ef
@ -24,6 +24,9 @@ argument_specs:
|
||||
type: "dict"
|
||||
elem: "dict"
|
||||
required: true
|
||||
services_deploy_lrproxy_ignore_unreachable_rproxy:
|
||||
type: "bool"
|
||||
required: true
|
||||
services_host_services:
|
||||
lrproxy:
|
||||
rproxy_host:
|
||||
|
@ -99,6 +99,7 @@
|
||||
register: services_deploy_lrproxy_keypair
|
||||
|
||||
- name: "configure public key on {{ services_host_services.lrproxy.rproxy_host }}"
|
||||
ignore_unreachable: "{{ services_deploy_lrproxy_ignore_unreachable_rproxy }}"
|
||||
delegate_to: "{{ services_host_services.lrproxy.rproxy_host }}"
|
||||
become_user: "{{ services_host_services.lrproxy.rproxy_user }}"
|
||||
ansible.posix.authorized_key:
|
||||
|
@ -52,6 +52,9 @@
|
||||
- "services:deploy"
|
||||
- "services:deploy:{{ services_service_name }}"
|
||||
- "services:{{ services_service_name }}:deploy"
|
||||
vars:
|
||||
services_deploy_lrproxy_ignore_unreachable_rproxy: "\
|
||||
{{ not (the_nine_worlds_production | bool) }}"
|
||||
loop: "{{ services_host_services | dict2items | map(attribute='key') }}"
|
||||
loop_control:
|
||||
loop_var: "services_service_name"
|
||||
|
Loading…
Reference in New Issue
Block a user