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

add ansible-galaxy to command cheatsheet #826

Merged
merged 4 commits into from
Nov 30, 2023

Conversation

samccann
Copy link
Contributor

Part of #48

Adds common CLI use for ansible-galaxy command.

@samccann samccann added backport-2.15 Automatically create a backport for the stable-2.15 branch backport-2.14 Automatically create a backport for the stable-2.14 branch backport-2.16 Automatically create a backport for the stable-2.16 branch labels Nov 14, 2023

.. code-block:: bash

ansible-galaxy collection install mynamespace.mycollection -p /path/to/collections --force-all-deps
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not just showcase the simple ansible-galaxy collection install command without extra options? I don't think most users will need -p or --force-all-deps.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! I thought maybe it was just the simple command, but I saw a few examples using the -p in the forum so wasn't sure. I can remove that stuff.

Copy link
Collaborator

@gotmax23 gotmax23 left a comment

Choose a reason for hiding this comment

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

This looks good to me now. Thanks! We can include some other important commands like ansible-galaxy role install and ansible-galaxy install -r in a follow up PR.

@samccann samccann merged commit 3ee9c0d into ansible:devel Nov 30, 2023
7 checks passed
Copy link

patchback bot commented Nov 30, 2023

Backport to stable-2.15: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-2.15/3ee9c0d35db7266fb3a8010c614d1df5a3c2bc06/pr-826

Backported as #884

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Nov 30, 2023
Part of #48

Adds common CLI use for `ansible-galaxy` command.

(cherry picked from commit 3ee9c0d)
Copy link

patchback bot commented Nov 30, 2023

Backport to stable-2.14: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-2.14/3ee9c0d35db7266fb3a8010c614d1df5a3c2bc06/pr-826

Backported as #885

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Nov 30, 2023
Part of #48

Adds common CLI use for `ansible-galaxy` command.

(cherry picked from commit 3ee9c0d)
samccann added a commit that referenced this pull request Nov 30, 2023
Part of #48

Adds common CLI use for `ansible-galaxy` command.

(cherry picked from commit 3ee9c0d)

Co-authored-by: Sandra McCann <samccann@redhat.com>
samccann added a commit that referenced this pull request Nov 30, 2023
Part of #48

Adds common CLI use for `ansible-galaxy` command.

(cherry picked from commit 3ee9c0d)

Co-authored-by: Sandra McCann <samccann@redhat.com>
@samccann samccann deleted the cheat-galaxy branch November 30, 2023 20:40
@samccann samccann removed backport-2.15 Automatically create a backport for the stable-2.15 branch backport-2.14 Automatically create a backport for the stable-2.14 branch backport-2.16 Automatically create a backport for the stable-2.16 branch labels Nov 30, 2023
@samccann samccann added the backport-2.16 Automatically create a backport for the stable-2.16 branch label Nov 30, 2023
Copy link

patchback bot commented Nov 30, 2023

Backport to stable-2.16: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-2.16/3ee9c0d35db7266fb3a8010c614d1df5a3c2bc06/pr-826

Backported as #898

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Nov 30, 2023
Part of #48

Adds common CLI use for `ansible-galaxy` command.

(cherry picked from commit 3ee9c0d)
samccann added a commit that referenced this pull request Nov 30, 2023
Part of #48

Adds common CLI use for `ansible-galaxy` command.

(cherry picked from commit 3ee9c0d)

Co-authored-by: Sandra McCann <samccann@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-2.16 Automatically create a backport for the stable-2.16 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants