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

fix: run flatcar update scripts only in ansible playbook #775

Merged
merged 3 commits into from
May 2, 2023

Conversation

supershal
Copy link
Collaborator

What problem does this PR solve?:

  • Move flatcar update and bootstrap scripts to ansible playbooks.
    Currently it is executed twice in packer shell provisioner and ansible playbooks.

  • use path.cwd inbuilt variable to fix the path of the ansible playbooks.

Special notes for your reviewer:

I was not aware of original intent of keeping it in two places. I am not sure if it was intentional.
Please let me know if flatcar scripts was executed in packer intentionally.

@supershal supershal self-assigned this Apr 13, 2023
@supershal supershal added the runs-e2e-tests runs e2e tests for GHA label Apr 13, 2023
@supershal supershal changed the title chore: run flatcar update scripts only in ansible playbook fix: run flatcar update scripts only in ansible playbook Apr 13, 2023
@supershal supershal changed the title fix: run flatcar update scripts only in ansible playbook fix: run flatcar update scripts only in ansible playbook Apr 18, 2023
@supershal supershal requested review from faiq and dkoshkin April 18, 2023 16:42
@github-actions github-actions bot removed the fix label Apr 18, 2023
@supershal supershal requested a review from a team April 18, 2023 16:43
@github-actions github-actions bot added the fix label Apr 18, 2023
@supershal supershal merged commit a1be118 into main May 2, 2023
@supershal supershal deleted the shalin/simplify_flatcar branch May 2, 2023 15:55
faiq pushed a commit that referenced this pull request Aug 20, 2023
* chore: run flatcar update scripts only in ansible playbook

* chore: set path for ansible playbooks

* chore: remove deprecated packer folder from Dockerfile
faiq pushed a commit that referenced this pull request Aug 20, 2023
* chore: run flatcar update scripts only in ansible playbook

* chore: set path for ansible playbooks

* chore: remove deprecated packer folder from Dockerfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix runs-e2e-tests runs e2e tests for GHA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants