Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace hosts: localhost by delegate_to: localhost #259

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

asm0deuz
Copy link
Collaborator

As some users have inventory files with not just ceph hosts, they uses --limit to target only ceph nodes.
Using "hosts: localhost" in playbooks prevent those tasks being executed. Using delegate_to with run_once fixes the issue.

Fixes: #170

@asm0deuz asm0deuz force-pushed the replace_localhost branch 3 times, most recently from 51c7707 to 3c33cd6 Compare November 24, 2023 14:58
As some users have inventory files with not just ceph hosts, they
uses --limit to target only ceph nodes.
Using "hosts: localhost" in playbooks prevent those tasks being
executed. Using delegate_to with run_once fixes the issue.

Fixes: ceph#170

Signed-off-by: Teoman ONAY <[email protected]>
@guits guits added backport-quincy backport quincy backport-reef backport reef labels Nov 24, 2023
@asm0deuz asm0deuz merged commit 90e8370 into ceph:devel Nov 24, 2023
3 checks passed
@asm0deuz asm0deuz deleted the replace_localhost branch November 24, 2023 23:04
asm0deuz added a commit that referenced this pull request Nov 27, 2023
Replace hosts: localhost by delegate_to: localhost (backport #259)
asm0deuz added a commit that referenced this pull request Nov 27, 2023
Replace hosts: localhost by delegate_to: localhost (backport #259)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-quincy backport quincy backport-reef backport reef
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Purge behavior when calling cephadm-purge-cluster.yml with --limit
2 participants