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

Make Ansible playbook runs idempotent #535

Closed
alabdao opened this issue Jul 21, 2023 · 0 comments
Closed

Make Ansible playbook runs idempotent #535

alabdao opened this issue Jul 21, 2023 · 0 comments
Assignees
Labels
ops For Ops/Infrastructure related items

Comments

@alabdao
Copy link
Collaborator

alabdao commented Jul 21, 2023

Need to make necessary changes to ensure that playbook runs are idempotent without breaking Bacalhau/IPFS install and setup.

@alabdao alabdao self-assigned this Jul 21, 2023
@alabdao alabdao added the ops For Ops/Infrastructure related items label Jul 21, 2023
alabdao added a commit that referenced this issue Jul 25, 2023
Borrowed some code from https://github.com/Zorlin/bacalhau-playbook/

to add checks to run install tasks for ipfs and bacalhau ONLY
when the installed version doesnt matched the specified version.

Also moved tasks file into tasks folder.

Using include_tasks instead of import_tasks, need to keep consistent.

Update Staging var to point to new environment
alabdao added a commit that referenced this issue Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ops For Ops/Infrastructure related items
Projects
None yet
Development

No branches or pull requests

2 participants