Skip to content
Snippets Groups Projects
Commit c9c4a295 authored by Ira ㋡'s avatar Ira ㋡
Browse files

Add name to ssl IPv6 host list task (all tasks should be named - E502)

parent 2e34ea5f
No related branches found
No related tags found
No related merge requests found
Pipeline #188 failed
......@@ -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}}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment