Skip to content

Commit

Permalink
Fetch machine IPs differently
Browse files Browse the repository at this point in the history
  • Loading branch information
klention committed Dec 21, 2024
1 parent e4b34d3 commit c4f979c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automation/roles/tls_certificate/generate/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- name: "Gather host-specific network information"
ansible.builtin.set_fact:
san_entry: >-
DNS:{{ ansible_hostname }},DNS:{{ ansible_fqdn }},IP:{{ ansible_default_ipv4.address }}
DNS:{{ ansible_hostname }},DNS:{{ ansible_fqdn }},{% for ip in ansible_facts.all_ipv4_addresses %}IP:{{ ip }}{% if not loop.last %},{% endif %}{% endfor %}

Check failure on line 22 in automation/roles/tls_certificate/generate/tasks/main.yml

View workflow job for this annotation

GitHub Actions / build

yaml[line-length]

Line too long (161 > 160 characters)

Check failure on line 22 in automation/roles/tls_certificate/generate/tasks/main.yml

View workflow job for this annotation

GitHub Actions / build

22:161 [line-length] line too long (161 > 160 characters)
- block:
- name: "Aggregate all subjectAltName entries"
Expand Down

0 comments on commit c4f979c

Please sign in to comment.