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

Doc: Update installation guide to avoid 'pipx' #3863

Conversation

ClausHolbechArista
Copy link
Contributor

Change Summary

Update installation guide to avoid 'pipx'

Repository Checklist

  • My code has been rebased from devel before I start
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation and documentation have been updated accordingly.
  • I have updated molecule CI testing accordingly. (check the box if not applicable)

@ClausHolbechArista ClausHolbechArista requested review from a team as code owners April 16, 2024 06:34
@github-actions github-actions bot added the type: documentation Improvements or additions to documentation label Apr 16, 2024
Copy link
Contributor

@gmuloc gmuloc left a comment

Choose a reason for hiding this comment

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

LGTM

For posterity sake:

I read pipx doc and basically you would need to:
1/ install ansible with pipx (it creates a venv for ansible AND make ansible command globally available)
2/ inject requirements.txt inside you ansible using pipx inject
3/ point your python interpreter variables in ansible playbook to the venv python interpreter
4/ it should work

I have not tested and feel like people should rather use a venv rather than pipx :)

@gmuloc gmuloc added the one approval This PR has one approval and is only missing one more. label Apr 16, 2024
@gmuloc gmuloc requested a review from a team April 16, 2024 10:10
Copy link
Member

@carlbuchmann carlbuchmann left a comment

Choose a reason for hiding this comment

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

LGTM

@carlbuchmann carlbuchmann merged commit f1fd1ea into aristanetworks:devel Apr 16, 2024
36 checks passed
sugetha24 pushed a commit to sugetha24/ansible-avd that referenced this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
one approval This PR has one approval and is only missing one more. rn: Doc type: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants