Skip to content

Conversation

stuartc-graphcore
Copy link

No description provided.

@stuartc-graphcore stuartc-graphcore requested a review from a team as a code owner June 27, 2023 15:25
@mnasiadka
Copy link
Member

Fixing linter in #108

@mnasiadka
Copy link
Member

Linter fixed - please rebase the patch

Copy link
Member

@priteau priteau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: s/nmes/names/ in commit message

hostname: {{ hostvars[host].ansible_facts.hostname }}
{% set cephadm_admin_interface = hostvars[host]['cephadm_admin_interface'] %}
addr: {{ hostvars[host]['ansible_facts'][cephadm_admin_interface]['ipv4']['address'] }}
addr: {{ hostvars[host]['ansible_all_ipv4_addresses'] | ipaddr( cephadm_public_network ) | first }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to use ansible_facts.

Suggested change
addr: {{ hostvars[host]['ansible_all_ipv4_addresses'] | ipaddr( cephadm_public_network ) | first }}
addr: {{ hostvars[host]['ansible_facts']['all_ipv4_addresses'] | ipaddr( cephadm_public_network ) | first }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants