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

ansible: Document how to run a playbook against a local VM #574

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

martinpitt
Copy link
Member

Add an example inventory for our standard cockpit bots c machine. It should be obvious from there how to extend it.

Add an example inventory for our standard cockpit bots `c` machine. It
should be obvious from there how to extend it.
@martinpitt
Copy link
Member Author

FTR: I just deployed a fully working bots on my local fcos VM. The only thing I needed to do is to comment out the zezere disabling steps, as that's not a thing on fcos. Let's fix this properly with a conditional step. There was a reason that we can't actually deploy to fcos, but let's at least not hardcode that assumption.

The playbook failed on machines without zezere, i.e. OSes other than
Fedora IoT. It's too annoyingly complicated to do this declaratively, so
just reach for the shell.
Copy link
Member

@allisonkarlitskaya allisonkarlitskaya left a comment

Choose a reason for hiding this comment

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

Thanks!

@allisonkarlitskaya allisonkarlitskaya merged commit f231290 into main Feb 16, 2024
3 checks passed
@allisonkarlitskaya allisonkarlitskaya deleted the local-ansible branch February 16, 2024 08:19
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