Skip to content

Commit 0e66f0b

Browse files
authored
net_ip templating fix (#529)
* changed net_ip filters which broke infra vm provision
1 parent f07e2a0 commit 0e66f0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

etc/kayobe/inventory/group_vars/wazuh-manager/wazuh-manager

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ indexer_cluster_nodes:
3737
instances:
3838
node1:
3939
name: "{{ groups['wazuh-manager'][0] }}"
40-
ip: "{{ admin_oc_net_name | net_ip(groups['wazuh-manager'][0]) }}"
40+
ip: "{{ wazuh_manager_ip }}"
4141
role: indexer
4242

4343
# Filebeat variables

etc/kayobe/pulp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Base URL of the local Pulp service.
66
# Default uses the seed node's IP on the admin network.
7-
pulp_url: "{{ 'https' if pulp_enable_tls | bool else 'http' }}://{{ admin_oc_net_name | net_ip(groups['seed'][0]) }}:{{ pulp_port }}"
7+
pulp_url: "{{ 'https' if pulp_enable_tls | bool else 'http' }}://{{ lookup('vars', admin_oc_net_name ~ '_ips')[groups.seed.0] }}:{{ pulp_port }}"
88

99
# Port on the seed node's interface on the admin network that the Pulp service
1010
# listens on.

0 commit comments

Comments
 (0)