summaryrefslogtreecommitdiff
path: root/bin/ansible-galaxy
Commit message (Collapse)AuthorAgeFilesLines
* Making the switch to v2James Cammarata2015-05-031-957/+1
|
* Allow ansible-galaxy to install symlinksJames Cammarata2015-03-231-1/+1
|
* Merge pull request #9129 from lotia/develBrian Coca2015-02-261-2/+1
|\ | | | | Clean up template comment text in ansible-galaxy
| * Clean up template comment text in ansible-galaxyAli Asad Lotia2014-09-241-2/+1
| | | | | | | | | | | | Since support for non-galaxy templates is available in 1.8, the existing comment in the default_meta_template requiring specified dependencies be available via galaxy was no longer valid. That comment is now removed.
* | Add issue_tracker_url to the galaxy templateMonty Taylor2015-02-101-0/+4
| | | | | | | | | | | | There is an optional issue_tracker_url setting that can be set in meta/main.yml:galaxy_info. Include it in the generated template commented out so that it can be filled out if desired.
* | Ignore errors from `shutil.rmtree` when removing temporary directoryDaniel Upton2015-02-091-1/+1
| |
* | used del instead of pop, removed unused pprint importBrian Coca2014-11-201-2/+1
| | | | | | | | | | | | Conflicts: lib/ansible/modules/core lib/ansible/modules/extras
* | implemented info action for galaxyBrian Coca2014-11-121-9/+63
| |
* | Fix unspecified role versions.Toshio Kuratomi2014-10-091-1/+1
|/ | | | Fixes #9236
* Merge pull request #8959 from willthames/galaxy_ssh_cloneJames Cammarata2014-09-231-8/+0
|\ | | | | Allow fairly common ssh repo clone path to work
| * Make ansible-galaxy work as expectedWill Thames2014-09-101-8/+0
| | | | | | | | | | | | This change fixes hg galaxy roles Roles also get installed if roles path is missing, which the tests currently require (fixes #8950)
* | Merge pull request #8948 from sergevanginderachter/issue_8823James Cammarata2014-09-161-0/+1
|\ \ | | | | | | ansible-galaxy: exit with rc 1 if role doesn't exist/is not found
| * | Exit with rc 1 if role doesn't exist/is not foundSerge van Ginderachter2014-09-091-0/+1
| |/ | | | | | | | | fixes #8823 modified: bin/ansible-galaxy
* | Remove duplicate call to remove tmp role fileToshio Kuratomi2014-09-151-2/+0
| |
* | Do not remove local role file if given on the commandlineMichael Scherer2014-09-131-1/+2
|/ | | | | | | | | | | using this (for testing purpose) : $ ansible-galaxy install COPYING - error: the file downloaded was not a tar.gz - COPYING was NOT installed successfully. - you can use --ignore-errors to skip failed roles. this result in COPYING being erased, which is surprising for the user. This also prevent erasing requirements.yml if someone use the wrong flag.
* Add error checking to ansible-galaxy to verify the roles_path is validJames Cammarata2014-09-091-0/+8
|
* Fixing ansible-galaxy bug introduced in 399fe322James Cammarata2014-09-081-3/+4
|
* Don't re-add galaxy deps if they've already been added for installJames Cammarata2014-09-051-4/+7
| | | | Fixes #8890
* Fix instance comparison for deps in bin/ansible-galaxyJames Cammarata2014-09-041-1/+1
| | | | Fixes #8884
* Can override each role's install pathJohn Dewey2014-08-271-1/+8
| | | | | | | | | Defaults to the system wide `roles-path` when `path` is not specified in the provided `role-file`. An example installing nginx to a relative path specified by the `role-file`. - src: https://github.com/bennojoy/nginx path: vagrant/roles/
* Fixing a typo, still some more work to do on CLI.Michael DeHaan2014-08-221-1/+1
|
* Clarify examples further.Michael DeHaan2014-08-211-47/+48
|
* Remove some debug in ansible-galaxy upgrades, one of which raises errors ↵Michael DeHaan2014-08-211-7/+6
| | | | down some code paths.
* Work in progress on bin/ansible-galaxy changes testing.Michael DeHaan2014-08-211-1/+8
|
* Make galaxy work when API server not availableWill Thames2014-08-211-16/+21
| | | | | | | | `ansible-galaxy init --offline ...` can create a role without talking to the galaxy api server `ansible-galaxy install ...` only needs to talk to the galaxy api server for galaxy roles, not tar files or scm archives Fixed a bug in command line role installation
* Handle older git archive commandsWill Thames2014-08-211-3/+6
| | | | | | | | | | | Older git archive commands create tar archives even with a tar.gz extension. So change it to always create tar archives and have the install_role method cope. Removed ssh roles from the test case as they don't work unless you can connect to bitbucket via ssh and have your key there. Corrected a minor typo in error messages
* Allow installation of roles from yaml roles fileWill Thames2014-08-211-22/+29
| | | | | | Added docs Added more tests Improved how roles are returned from the parsers
* Friendly Role Names and roles from URLsWill Thames2014-08-211-53/+40
| | | | | | | * Roles can now be given a friendly name as third field in role spec csv * Roles can be installed from URL (not just from archived SCMs) * Integration tests to demonstrate this * Unit tests to ensure that role spec parsing works as expected
* Tidied up a little, added testsWill Thames2014-08-211-4/+5
| | | | | | Moved repo_url_to_role_name to common method in ansible.utils Added unit test for repo_url_to_role_name Added integration tests for galaxy
* Change to how SCM is determinedWill Thames2014-08-211-20/+10
| | | | | | | Change SCM determination from executing git/hg commands to explicit in URL. Fix check for already installed dependencies
* Allow ansible-galaxy to install roles from URLsWill Thames2014-08-211-26/+94
| | | | | | | | | | | | | | ansible-galaxy can now refer to SCM URLs (git and hg at this point) for role names Dependencies need to use the full SCM URLs too. Otherwise all seems to work well Test rolesfile ``` http://bitbucket.org/willthames/git-ansible-galaxy,v1.1 https://bitbucket.org/willthames/hg-ansible-galaxy ``` (works with ssh too)
* Add path checking for relative/escaped tar filenames in the ansible-galaxy ↵James Cammarata2014-08-061-2/+10
| | | | command
* Align markdown headersJohn Dewey2014-07-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | A fairly trivial change since `Role Name` and `Example Playbook` will likely be modified anyways. However, since all the other sections are aligned properly, felt it would be nice to "clean this up". Before: Role Name ======== Example Playbook ------------------------- After: Role Name ========= Example Playbook ----------------
* Add space after full stop in ansible-galaxy helpJohn Barker2014-03-171-3/+3
|
* Micro-optimization: replace s.find(x)!=-1 with x in sCristian Ciupitu2014-03-161-1/+1
| | | | | timeit shows a speedup of ~3x on Python 2.7.5 x86_64. It also makes the code a bit shorter.
* Fixing usage string in ansible-galaxy install for role filesJames Cammarata2014-02-151-1/+1
|
* More site rename things.Michael DeHaan2014-01-281-3/+3
|
* AnsibleWorks -> AnsibleMichael DeHaan2014-01-281-1/+1
|
* Adding an "Example Playbook" section to the README template for ansible-galaxyJames Cammarata2014-01-241-0/+9
| | | | Fixes 5397
* Adding suggested licenses to the ansible-galaxy meta templateJames Cammarata2014-01-241-0/+7
|
* Merge pull request #5376 from bob-smith/galaxyhelpjctanner2014-01-141-8/+17
|\ | | | | Display context appropriate help and inform the user they can do '--help <command>'
| * Add some blank lines in help to add readabilityJohn Barker2013-12-201-2/+4
| |
| * Display context appropriate help and inform the user they can do '--helpJohn Barker2013-12-201-8/+15
| | | | | | | | <command>
* | Fixed splitting of role/user name when username has a '.' in itJames Cammarata2014-01-061-1/+4
| | | | | | | | | | This may still be an issue if users create roles with a '.' in the name though. We will probably have to disallow that in the role naming convention.
* | Fixing a small typo in the Galaxy README templateJoshua Lund2013-12-241-1/+1
| |
* | Set default role license to BSDJames Tanner2013-12-201-1/+1
| |
* | Use os.pathsep to split roles_path instead of a colonJames Tanner2013-12-201-2/+2
| |
* | Split roles_path on colon separators and use the first path for the ↵James Tanner2013-12-201-0/+3
| | | | | | | | installation path
* | Create a default README.md with ansible-galaxy initJames Tanner2013-12-201-0/+41
| |
* | Don't create main.yml in files/templates directories on galaxy initJames Cammarata2013-12-201-1/+1
| |