Skip to content

ansible-scylla-node: remove default scylla_seeds#440

Open
vreniers wants to merge 1 commit intoscylladb:masterfrom
vreniers:uncomment_seeds
Open

ansible-scylla-node: remove default scylla_seeds#440
vreniers wants to merge 1 commit intoscylladb:masterfrom
vreniers:uncomment_seeds

Conversation

@vreniers
Copy link
Collaborator

The assumption cannot be made that the hostname is DNS resolvable by all nodes in the cluster. It's more appropriate to require that the seed nodes are specified explicitly.

The assumption cannot be made that the hostname is DNS resolvable by all nodes in the cluster.
It's more appropriate to require that the seed nodes are specified explicitly.

Signed-off-by: Vincent Reniers <vincent.reniers@scylladb.com>
@vreniers vreniers requested a review from vladzcloudius March 25, 2025 11:47
# Do not use the below default example if ansible_host is not specified and the hostname is not resolvable by all nodes.
#
#scylla_seeds:
# - "{{ hostvars[groups.scylla.0].ansible_host if 'ansible_host' in hostvars[groups.scylla.0] else groups.scylla.0 }}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

If we remove the default then we must either add "if defined" blocks everywhere we use it or add an explicit check that this value is specified early in the play.

Copy link
Collaborator

Choose a reason for hiding this comment

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

ping, @vreniers

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.

2 participants