Commit Graph

19667 Commits (828b73dd2dc277d1ac0c4925a66fa21e66aa175d)
 

Author SHA1 Message Date
J. Javier Maestro 828b73dd2d Fix: create retry_files_save_path if it doesn't exist (#15659)
* Fix: create retry_files_save_path if it doesn't exist

Ansible documentation states that retry_files_save_path directory will be
created if it does not already exist. It currently doesn't, so this patch
fixes it :)

* Use makedirs_safe to ensure thread-safe dir creation

@bcoca suggested to use the makedirs_safe helper function :)
9 years ago
Toshio Kuratomi 10860c50bd Update submodule refs for revert of git change 9 years ago
Toshio Kuratomi 872f3c5503 Revert "Add git shallow fetch test (#16055)" -- Broke integration tests:
https://app.shippable.com/runs/57599a7897ae890c00c2898d

This reverts commit e81f14ab48.
9 years ago
Brian Coca 4625bd2de5 updated submodule refs 9 years ago
Brian Coca c376954ecf avoid processing bad mtab entries (#16206)
fixes #16174
9 years ago
scottb e5d04fd6bd Merge pull request #16023 from jhawkesworth/add_fetch_to_windows_modules
[WIP]: A few ideas for updating the windows introduction.
9 years ago
Aaron Mortenson 5bba918052 added more documentation of loops with register (#16208) 9 years ago
Robin Roth e81f14ab48 Add git shallow fetch test (#16055)
* add git shallow fetch test

covers https://github.com/ansible/ansible-modules-core/issues/3782

updating a repo with depth=1 fails silently if version==HEAD

* disable git shallow tests for old git versions

Older git versions don't treat the --depth option correctly.
While the git module tried to work around this and introduced subtle
bugs, ansible/ansible-modules-core#3794 falls back to full checkouts.
Don't run the tests then.
9 years ago
Toshio Kuratomi 1b58b55346 Update submodule refs 9 years ago
jctanner 02e52c319c Force an include to be a static task if no vars or loops are being used. (#16192)
Fixes #15735
9 years ago
James Cammarata b51d0dd69b Fix hostvars lookup of locahost based on 5f1bbb4 9 years ago
James Cammarata 5f1bbb4fcd There can be only one localhost
The changes to exclude implicit localhosts from group patterns exposed
the bug that we sometimes create multiple implicit localhosts, which
caused some bugs with things like includes, where the host was used as
an entry into a dict, so having multiple meant that the incorrect host
(with a different uuid) was found and includes were not executed for
implicit localhosts.
9 years ago
James Cammarata fbec2d9692 Expand return code values returned by TQM and strategies
This allows the PlaybookExecutor to receive more information regarding
what happened internal to the TaskQueueManager and strategy, to determine
things like whether or not the play iteration should stop.

Fixes #15523
9 years ago
David Shrewsbury f101910167 Update CHANGELOG for os_keystone_service module (#16190) 9 years ago
Peter Sprygada bd8b041756 Merge pull request #16181 from privateip/working
fixes issue with ssh keyfile and nxos authentication
9 years ago
Peter Sprygada 178cfd142b fixes issue with ssh keyfile and nxos authentication
The nxos cli provider would not properly handle ssh key files passed
from the playbook task.   The ssh_keyfile argument is now properly
passed to the ssh authentication method

This fix address the bug reported in #3862
9 years ago
nitzmahone d91315f2a0 bump submodule refs 9 years ago
jctanner aa5c8ed86c * Fix broken indentation in vmware inventory (#16177)
* Allow script to be a symlink without breaking ini path.
9 years ago
James Cammarata f9803bfcc9 Revert "don't tempalte register"
This reverts commit 7ba790bbaf.

Fixes #15700
9 years ago
James Cammarata 068e447fda Further tweaks to variable precedence to make it match our docs
Also removes looking at role variables from the Block, as those are
merged in separately via VariableManager
9 years ago
James Cammarata b37b51dcea Fix variable precedence issue where set facts beat role params
Also updates doc on variable precedence, as it was incorrect for the
order of play vars/vars_prompt/vars_files in relation to set_fact and
registered variables.

Fixes #14702
Fixes #14826
9 years ago
Matt Clay 1eab7e117c Remove travis build status badge from README.md. 9 years ago
James Cammarata fa368934bd Create state in PlayIterator for unknown hosts rather than raise errors
Since we now use the PlayIterator to carry forward failures from previous
play executions, in the event that some hosts which had previously failed
are not in the current inventory we now create a stub state instead of
raising an error.
9 years ago
Brian Coca f76befdb9a fix issues when state is not supplied 9 years ago
Krzysztof Magosa 721da46842 fix: playbook_on_task_start expects name and not task object (#16168) 9 years ago
Ritesh Khadgaray ef9238ab85 set remote_user to default if none is found when using delegate_to (#16138) 9 years ago
Marius Gedminas b479a80d45 Document playbook_dir (#16166)
It was added back in 2013, in version 1.3: https://github.com/ansible/ansible/issues/4246
9 years ago
Peter Sprygada 596b32f31e Merge pull request #16148 from privateip/working
fixes issues with authenticating using ssh-agent for ios devices
9 years ago
Monty Taylor 4eedad55d9 Merge pull request #14699 from jhesketh/devel
Set fail_on_cloud_config in openstack inventory
9 years ago
Matt Clay 497459246a Add shippable build status badge to README.md. 9 years ago
Brian Coca 6f36909074 service now passes 'started' instead of 'running'
other modules don't have to implement this directly
also updated docs to prefer 'started'.
fixes #16145
9 years ago
Matt Clay 1b3d6df985 Merge pull request #16159 from mattclay/detect-shippable
Detect use of Travis tests on Shippable.
9 years ago
Matt Davis a9aab76fa2 Merge pull request #16161 from trondhindenes/win_pending_reboot_in_powershell
moved pending reboot to powershell.ps1
9 years ago
Trond Hindenes ad4eb751a5 moved pending reboot to powershell.ps1 9 years ago
James Cammarata e36b4014f5 Merge pull request #15958 from Schnitzel/taskinclude_handler
new HandlerTaskInclude Class which can run TaskIncludes inside Handlers
9 years ago
Matt Clay 03597143d0 Detect use of Travis tests on Shippable.
This can occur when building pre-Shippable branches or PRs.
9 years ago
Adrian Likins 7eec99a140 Merge pull request #16154 from vlna/patch-1
Typo fix: Kuraotmi -> Kuratomi
9 years ago
Adrian Likins a5df32cf54 Merge pull request #16142 from drew-russell/patch-1
Fix typo in the VMware section
9 years ago
James Cammarata b33aeee2f0 Merge branch 'andreyshestakov-devel' into devel 9 years ago
James Cammarata add2d1947e Fix recursive call of _load_inventory_file() in VariableManager
Fixes #16128
9 years ago
James Cammarata 1f18f5c92d Tweak the poll time to 0.005 to improve perf with large playbooks 9 years ago
James Cammarata b9e743b478 Merge branch 'devel' of https://github.com/andreyshestakov/ansible into andreyshestakov-devel 9 years ago
James Cammarata 560532da7d Make sure we add host/group vars files when parsing inventory
Also fixes a bug where add_host was not adding the vars files

Fixes #16117
9 years ago
James Cammarata 61f132a609 Adding unit tests for playbook group/host vars 9 years ago
Brian Coca 2a984bbc98 much more fine grained error messages
fixes #16039
9 years ago
Sandra Wills 261b0af15a Merge pull request #16038 from larsks/docs/become-examples
docs: add some examples to the documentation for become
9 years ago
rdezavalia a7274774ed Support etcd v2. Use this version by default (#12312)
* Support etcd v2. Use this version by default

* default to etcd v1
9 years ago
Brian Coca 9342c7cc02 added sensu_subscription module 9 years ago
vlna 53ac89e40d Typo fix: Kuraotmi -> Kuratomi 9 years ago
Peter Sprygada 0a87651fc5 fixes issues with authenticating using ssh-agent for ios devices
Exception was raised when trying to use ssh-agent for authentication to
ios devices.   This fix enables ssh-agent and enable use of password
protected ssh keys.  There is one additional fix to capture authentication
exceptions nicely.
9 years ago