From c9c4a295199e436299d542e4155f76eb1e79c1f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ira=20=E3=8B=A1?= <lambdaclan@posteo.me> Date: Sat, 30 May 2020 19:22:42 +0900 Subject: [PATCH] Add name to ssl IPv6 host list task (all tasks should be named - E502) --- playbooks/apollo.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/apollo.yml b/playbooks/apollo.yml index 579303017..9a6922294 100644 --- a/playbooks/apollo.yml +++ b/playbooks/apollo.yml @@ -9,7 +9,8 @@ orion4: "{{ hostvars['orion.archlinux.org']['ipv4_address'] }}/32" detected_ips: "{{ groups['mirrors'] | map('extract', hostvars, ['ipv4_address']) | select() | map('regex_replace', '^(.+)$', '\\1/32') | list}}" tags: ["postgres", "firewall"] - - set_fact: postgres_ssl_hosts6="{{ [orion6] + detected_ips}}" + - name: prepare postgres ssl hosts list (IPv6) + set_fact: postgres_ssl_hosts6="{{ [orion6] + detected_ips}}" vars: orion6: "{{ hostvars['orion.archlinux.org']['ipv6_address'] }}/128" detected_ips: "{{ groups['mirrors'] | map('extract', hostvars, ['ipv6_address']) | select() | map('regex_replace', '^(.+)$', '\\1/128') | list}}" -- GitLab