Commit Graph

11897 Commits (b44e22aa68ba71f0baa3bc37f7d92f051dfed505)
 

Author SHA1 Message Date
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
James Cammarata d4ff0d125a Make sure password files from lookups are created with restrictive permissions
Also adds checks for the lookup integration test for passwords.

Fixes #8652
10 years ago
James Cammarata 3a7aca6066 Fix no_log value for content in common file args settings
Also adds a test to ensure the content value is not logged.

Related to #8647
10 years ago
James Cammarata 8a5675ca9f Fixing no_log for the playbook level use
Fixes #8647
10 years ago
Serge van Ginderachter 0ab721d51e better logic for all-group variables for implicit localhost 10 years ago
Serge van Ginderachter 3c06833302 group_by: make sure new group has bigger priority than all group 10 years ago
Serge van Ginderachter a2cfe8770b Inventory: fix logic mistake in loading/retrieving variables for groups 10 years ago
James Cammarata 8648fa175c Removing skipped=True from result when using creates= and removes=
Fixes #8645
10 years ago
James Cammarata ca6db40cb4 When serializing inventory, pop from the start of the hosts list
Fixes #8646
10 years ago
Michael DeHaan 47f4dec676 In order to allow easier updates from upstream hardware vendors, we're going to be hosting network hardware
config modules on Galaxy as announced during the last release cycle.   (This excludes load balancers, which remain in core).

Please refer to https://eos.arista.com/introducing-arista-eos-roles-for-ansible/ and https://galaxy.ansible.com/list#/roles/1359
and where this content now lives.

Thanks to Peter Sprygada for the roles content!
10 years ago
Ding Deng 13db184d7f debconf module: add the missing 'error' vtype and reorder vtypes as they appeared in debconf-devel(7). 10 years ago
James Cammarata c8494cdc39 Set prompt encoding to a sane value when sys.stdout.encoding is None
Fixes #8644
10 years ago
nathansoz f0004b1604 $powershellpath is called as ".$powershellpath"
$powershell path is set to "C:\powershell" at line 27. This is fine, but on line 82 $powershellpath is called as ".$powershellpath\$filename". Because the path at line 27 is absolute, a period preceding the $powershellpath is not required at 82. It actually causes an error:

Start-Process : This command cannot be executed due to the error: Unknown error (0x80041002).
At C:\users\Nathan Sosnovske\Documents\ps2to3.ps1:81 char:14

Start-Process <<<< -FilePath ".$powershellpath\$filename" -ArgumentList /quiet
CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
Removing the period on line 82 before $powershellpath fixes this error.
10 years ago
James Cammarata 379e31883c Fix check mode issues with copy module
Fixes #8639
10 years ago
James Cammarata 542f07128e Correct check for role library/ existence
Fixes #8633
10 years ago
James Cammarata e2b8f05b79 Add option to disable ControlPath to ssh options during rsync
Fixes #8473
10 years ago
James Cammarata e3895840d1 Make sure group_vars/all is loaded for ungrouped hosts
Fixes #6563
10 years ago
James Cammarata 92f7aa79b0 Fix bad commit from #8095 and fix bad splitting on :'s in the image
Fixes #8095
Fixes #8658
10 years ago
Chris Church 90fc6c6881 Added winrm test for long-running command. 10 years ago
Will Thames 0083212704 Fix RDS AWS connection
Use the common AWS connection improvements so that security_token,
boto_profile etc. are taken into account
10 years ago
Lukas Wunner 677de07f44 Try optimistic chown, do not error out if not permitted to chown
Add unit test
10 years ago
Michael DeHaan f4d649bea0 Merge pull request #8641 from ianmiell/imiell_docs
Tense correction
10 years ago
Ian Miell 340a3c68b1 Tense correction 10 years ago
Michael DeHaan 91560c00a9 Merge pull request #8627 from rghe/devel
fixes #8626 by reverting 0d8b81cd
10 years ago
James Cammarata 8dafacd4e9 Make env param a dict type instead of list
Also modifies param type checking code to remove whitespace from
around params before splitting them into k=v pairs.

Fixes #8199
10 years ago
Michael DeHaan a230a3fad9 Merge pull request #8635 from RockinRoel/devel
Fix fonts in docs: Incosolata -> Inconsolata
10 years ago
Michael DeHaan 3035f2dcc8 Merge pull request #8367 from msabramo/make_pip_install_editable_work
Make `pip install -e` work
10 years ago