Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hemanth22/13abe3b390fe5951514de70c16f96227 to your computer and use it in GitHub Desktop.
Save hemanth22/13abe3b390fe5951514de70c16f96227 to your computer and use it in GitHub Desktop.
Find your role's id in ansible-galaxy
$ ansible-galaxy info YourUser.RoleName | grep -E 'id: [0-9]' | awk {'print $2'}
@hemanth22
Copy link
Author

$ ansible-galaxy info hemanth.ci | grep -E 'id: [0-9]' | awk {'print $2'}

@hemanth22
Copy link
Author

$ ansible-galaxy info hemanth.centosgui | grep -E 'id: [0-9]' | awk {'print $2'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment