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

GH-535 ansible idempotency #540

Merged
merged 4 commits into from
Jul 27, 2023
Merged

GH-535 ansible idempotency #540

merged 4 commits into from
Jul 27, 2023

Conversation

alabdao
Copy link
Collaborator

@alabdao alabdao commented Jul 25, 2023

  • added termination policy and increased max_size for compute
  • only target running hosts
  • added asg schedule to bring down compute nodes over the weekend
  • Make Ansible playbook runs idempotent #535 added idempotency by adding version check condition

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
@vercel
Copy link

vercel bot commented Jul 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Jul 25, 2023 1:07pm

@alabdao alabdao changed the title ops/535 ansible idempotency GH-535 ansible idempotency Jul 25, 2023
@alabdao alabdao requested a review from hevans66 July 25, 2023 15:01
@alabdao alabdao added the ops For Ops/Infrastructure related items label Jul 25, 2023
Copy link
Collaborator

@hevans66 hevans66 left a comment

Choose a reason for hiding this comment

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

👍

@alabdao alabdao merged commit e7e8368 into main Jul 27, 2023
2 checks passed
@alabdao alabdao deleted the ops/535-ansible-idempotency branch July 27, 2023 14:00
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

Successfully merging this pull request may close these issues.

None yet

2 participants