Commit Graph

11888 Commits (3871eebfbb0081fe2f33b3a0ba8cad2a91610ce8)
 

Author SHA1 Message Date
Michael DeHaan 3871eebfbb Merge pull request #8441 from willthames/unarchive_dest_fix
Unarchive should work when parent directory is not writable
10 years ago
Will Thames 1787c29354 Improved inventory handling when inventory does not yet exist
Fixes #8324
Improves #7667
10 years ago
Michael DeHaan b0e863b3f8 Merge pull request #8659 from willthames/rds_module_connection_fix
rds_module: Fix AWS connection
10 years ago
Michael DeHaan 3695c2bcab Remove galaxy CLI tests that hit bitbucket as bitbucket is hanging tests - maybe replace with nice github examples later :) 10 years ago
Michael DeHaan 8a0045baad Update tests for ansible-galaxy CLI additions. 10 years ago
Michael DeHaan d87830e1cc Merge branch 'galaxy_github_archive' of git://github.com/willthames/ansible into devel
Conflicts:
	lib/ansible/utils/__init__.py
10 years ago
James Cammarata 311ec543af If not specified, do not modify subnet/route_tables for ec2 VPCs
Also fixes a bug whereby any changes to the route_tables were not
properly reflected by setting changed=True.

Fixes #8666
10 years ago
James Cammarata 32a5c2bf48 Merge pull request #8721 from sergevanginderachter/syntax_check_avoid_blank_output
Avoid multiple blank lines with --syntax-check
10 years ago
James Cammarata 2e6f9804a5 Merge pull request #8716 from pborreli/typos
Fixed typos
10 years ago
James Cammarata ae4af85eb7 Merge pull request #8715 from retr0h/bug/galaxy-syntax-error
Corrected a simple syntax error in galaxy
10 years ago
James Cammarata d01188033f Checking for localized versions of the su password prompt
Fixes #8681
10 years ago
Michael DeHaan 0286c31e85 Assume master branch for downloads if not specified. 10 years ago
Michael DeHaan 0cd40fc372 Remove debug 10 years ago
Michael DeHaan d66bb47db7 Fixing a typo, still some more work to do on CLI. 10 years ago
Serge van Ginderachter ad3d3c7379 Avoid multiple blank lines with --syntax-check
Only print a blank line between plays when also doing --list-hosts and/or
  --list-tasks, otherwise this output just a long list of blank lines, one for
  each play.
10 years ago
Pascal Borreli fe40a7d88a Fixed typos 10 years ago
John Dewey 39eb11a598 Corrected a simple syntax error in galaxy 10 years ago
Will Thames 850963790d Allow roles to be installed from archives on github
Ensure that the automated scm determination for github.com
repos still copes with .tar.gz archive files.

Handling .zip archives is left as an exercise for the interested reader
10 years ago
Michael DeHaan 8e0af04c3b Add TOC to galaxy docs. 10 years ago
Michael DeHaan 399fe32287 Clarify examples further. 10 years ago
Michael DeHaan caf4e44be7 Replace examples for requirements file. 10 years ago
Michael DeHaan 2e95e21cad Remove some debug in ansible-galaxy upgrades, one of which raises errors down some code paths. 10 years ago
Michael DeHaan 56ce56fdbe Fix docs typo. 10 years ago
Michael DeHaan 90f09a5e56 update changelog 10 years ago
James Cammarata 3b19b83806 Add GovCloud region to list of regions for AWS
Fixes #8604
10 years ago
Michael DeHaan bcb44276fe Assume github.com URLs are git protocol if not specified. 10 years ago
Michael DeHaan e7c0b95074 Work in progress on bin/ansible-galaxy changes testing. 10 years ago
Michael DeHaan 12ad110205 Add documentation for new ansible-galaxy role options in 1.8. Much rejoicing. 10 years ago
Michael DeHaan 68e21aa4b0 Add comments about what these new functions do. 10 years ago
Will Thames 6e9abefc11 Corrected bug where role_path was wrong for roles in subdirectories
Fixed role name for
    - { role: 'lives/in/a/subdirectory' }
Should be 'lives/in/a/subdirectory', not just 'subdirectory'
10 years ago
Will Thames bf9ea81c4b Make galaxy work when API server not available
`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
10 years ago
Will Thames 31540246dd Handle older git archive commands
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
10 years ago
Will Thames ada9074276 Allow installation of roles from yaml roles file
Added docs
Added more tests
Improved how roles are returned from the parsers
10 years ago
Will Thames 46b59b02ed Friendly Role Names and roles from URLs
* 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
10 years ago
Will Thames 4803e923ff Improved handling of role_version in repo_url_to_role_name 10 years ago
Will Thames 1803976a40 Ensured that role version can be specified in role dependencies 10 years ago
Will Thames c2fe33f9f4 Tidied up a little, added tests
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
10 years ago
Will Thames b550cb9bc3 Need to take URLs into account when running playbooks too
Ensure that if meta/main.yml has dependencies containing URLs
these are correctly resolved at playbook runtime.

Update role_name during run time so that output of e.g. task names
look sensible
10 years ago
Will Thames bf3066e650 Change to how SCM is determined
Change SCM determination from executing git/hg commands to explicit
in URL.

Fix check for already installed dependencies
10 years ago
Will Thames 36177396c4 Allow ansible-galaxy to install roles from URLs
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)
10 years ago
James Cammarata bae73e5793 Merge branch 'alozovskoy-alozovskoy-debug-ascii-patch' into devel 10 years ago
James Cammarata 4fafd3baa8 Add error checking around json.dumps when not forcing ascii mode 10 years ago
James Cammarata 657d562995 Merge branch 'major-relative-path-fix' into devel 10 years ago
James Cammarata b98348c2c1 Merge branch 'relative-path-fix' of https://github.com/major/ansible into major-relative-path-fix 10 years ago
Major Hayden c9cdc9d6f9 File module cannot create relative paths
When trying to create a directory relative to the current working
directory, a directory is created at the root of the filesystem
instead.  This patch ensures that directories specified with relative
paths will be created in the current working directory.  Fully
qualified paths aren't affected

Signed-off-by: Major Hayden <major@mhtx.net>
10 years ago
James Cammarata 3edbab3875 Merge branch 'sergevanginderachter-role_path_var' into devel 10 years ago
James Cammarata ea5db1818d Merge branch 'role_path_var' of https://github.com/sergevanginderachter/ansible into sergevanginderachter-role_path_var 10 years ago
James Cammarata 100cb760e6 Merge branch 'l1k-devel' into devel 10 years ago
James Cammarata 24c4277479 Remove tabs added from 677de07 10 years ago
James Cammarata 5e240fec71 Merge branch 'devel' of https://github.com/l1k/ansible into l1k-devel
Conflicts:
	test/integration/roles/test_copy/tasks/main.yml
10 years ago