Skip to content

Commit

Permalink
net_ip templating fix (#529)
Browse files Browse the repository at this point in the history
* changed net_ip filters which broke infra vm provision
  • Loading branch information
g0rgamesh authored Jul 6, 2023
1 parent f07e2a0 commit 0e66f0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ indexer_cluster_nodes:
instances:
node1:
name: "{{ groups['wazuh-manager'][0] }}"
ip: "{{ admin_oc_net_name | net_ip(groups['wazuh-manager'][0]) }}"
ip: "{{ wazuh_manager_ip }}"
role: indexer

# Filebeat variables
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/pulp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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

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

0 comments on commit 0e66f0b

Please sign in to comment.