Commit Graph

12535 Commits (5a4a2128697102b2a19465911b7d475d59ecc361)
 

Author SHA1 Message Date
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
Greg Swift 5ecfe884b8 Extend wait_for module to support draining of active tcp connections 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
James Cammarata f9183fcb01 Merge branch 'sergevanginderachter-issue_8704_stacktrace_varmerge' into devel 10 years ago
James Cammarata b81e77cfec Tweak error language in dict validation 10 years ago
Serge van Ginderachter 3a228b9d55 InventoryScript: better syntax checking for json stream 10 years ago
Serge van Ginderachter b8d057296a variable merging: detect if both vars are really dicts when combining/merging dicts 10 years ago
Serge van Ginderachter 7051cdeb57 roles: make role_path (path of current role) available as variable to the task 10 years ago
James Cammarata 8a1fbed5d6 Correct variable blending from vars_files with hostvars in them
Fixes #8638
10 years ago
James Cammarata 8956c636a5 Remove incorrect use of module.fail_json during import check for s3
Fixes #8698
10 years ago
James Cammarata d63092ea45 Merge pull request #8689 from willthames/ansible-pull-parallel
Restrict ansible-pull to only do scm checkout once
10 years ago
James Cammarata 5b4cf916d7 Merge pull request #8686 from psa/asg-properties
asg-properties Get all the properties from ASG's
10 years ago
Serge van Ginderachter a1f09bd89f Merge variables for hosts instead of updating in get_variables() 10 years ago
James Cammarata 6975e5fd73 Merge branch 'svg_issue_8621_8664' into devel 10 years ago
Will Thames 92f9b74a68 Restrict ansible-pull to only do scm checkout once
This addresses a bug in ansible-pull where running ansible-pull
with an existing inventory causes the ansible job that does
the SCM checkout to run twice - once for localhost and once
for the fully qualified hostname.

This can cause a race condition, and usually results in one
of the ansible checkouts failing because one of the scm checkouts
has its references updated underneath it. Although the SCM checkout
actually succeeds, ansible fails with non-zero exit status, and
so ansible-pull does not continue.

Now that localhost is implicit for ansible runs, the ansible
scm checkout can be done using just localhost as a target.
10 years ago
Paul Armstrong 09979ac20d asg-properties Get all the properties from ASG's 10 years ago
Michael DeHaan e6be619257 Merge pull request #8678 from 0x44/debconf-vtypes
debconf module: add the missing 'error' vtype and reorder vtypes as they...
10 years ago
Michael DeHaan 231fc84cce Merge pull request #8671 from nathansoz/patch-2
$powershellpath is called as ".$powershellpath"
10 years ago
Michael DeHaan f2adee9fc9 Merge pull request #8665 from cchurch/winrm_timeout
WinRM test for long-running command.
10 years ago
James Cammarata cecfede85f Merge remote-tracking branch 'svg/issue_8621_8664' into svg_issue_8621_8664 10 years ago