summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move queuing tasks to a background threadfeature_threaded_queueJames Cammarata2016-08-286-143/+193
|
* Merge pull request #17265 from privateip/iosxrPeter Sprygada2016-08-261-0/+3
|\ | | | | fixes iosxr configure method to commit the changes
| * fixes iosxr configure method to commit the changesPeter Sprygada2016-08-261-0/+3
| | | | | | | | | | The iosxr configure method did not send the commit command to active the changes after pushed to the remote device. This change address that problem
* | fix action parsing to avoid conflicts aginBrian Coca2016-08-261-2/+4
|/
* Merge pull request #17264 from privateip/iosxrPeter Sprygada2016-08-261-1/+2
|\ | | | | disable prompt timestamps upon successful connection to iosxr
| * disable prompt timestamps upon successful connection to iosxrPeter Sprygada2016-08-261-1/+2
|/
* Merge pull request #17262 from privateip/iosxrPeter Sprygada2016-08-261-9/+12
|\ | | | | add commit keyword arg to load_config method
| * add commit keyword arg to load_config methodPeter Sprygada2016-08-261-9/+12
| | | | | | | | | | this adds a new keyword arg to the load_config method that will control whether or not a loaded configuration is committed on the device
* | updated sub refsBrian Coca2016-08-262-13/+13
| |
* | include_role (role revamp implementation) (#17232)Brian Coca2016-08-2611-44/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * attempt #11 to role_include * fixes from jimi-c * do not override load_data, move all to load * removed debugging * implemented tasks_from parameter, must break cache * fixed issue with cache and tasks_from * make resolution of from_tasks prioritize literal * avoid role dependency dedupe when include_role * fixed role deps and handlers are now loaded * simplified code, enabled k=v parsing used example from jimi-c * load role defaults for task when include_role * fixed issue with from_Tasks overriding all subdirs * corrected priority order of main candidates * made tasks_from a more generic interface to roles * fix block inheritance and handler order * allow vars: clause into included role * pull vars already processed vs from raw data * fix from jimi-c blocks i broke * added back append for dynamic includes * only allow for basename in from parameter * fix for docs when no default * fixed notes * added include_role to changelog
* | Do not convert Nonetype to "None" (#17261)Michael Scherer2016-08-262-4/+4
| | | | | | | | | | | | | | | | | | If someone use a task with a empty name like this: - name: command: true This will result in displaying 'None' as a task name instead of 'command'.
* | simplified logic pathsBrian Coca2016-08-261-36/+27
| |
* | Add OpenBSD virtualization facts. (#17227)Patrik Lundin2016-08-261-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add OpenBSD virtualization facts. Patch written by @jasperla. Tested by various people on: - virtualbox - vmware esx(i) + fusion - kvm (smartos + plain linux + a random cloud provider) This patch is already present in the OpenBSD port of ansible. * Rework diff to get rid of extra returns. Requested by @bcoca. While here, use four-space indentations of all code blocks. * Set facts even if no match is found. Discussed with @bcoca. * Find sysctl via get_bin_path(). Requested by @bcoca. * Fail if we do not find a sysctl binary. * Do not fail if a sysctl binary is not found. Just set empty fact values instead. Requested by @bcoca.
* | Make _display_plugin_load much less noisyAbhijit Menon-Sen2016-08-261-8/+7
| | | | | | | | | | | | There was general consensus that displaying every plugin load on -vvv was *way* too noisy. This commit reformats the log message to be less verbose, and drops it down to debugging-only level.
* | Fix "Text file busy" exception in atomic_move (#9526) (#17204)Alexander Stock2016-08-262-54/+58
| | | | | | | | tempfile.NamedTemporaryFile keeps a file handle causing os.rename() to fail with windows based vboxfs: [Errno 26] Text file busy. Changed NamedTemporaryFile to mkstemp() and added a finally block to unlink the temp file in each and every case.
* | Fix wrong error class (#17259)Michael Scherer2016-08-261-1/+1
| | | | | | | | | | | | | | AnsibleError is not imported in that file, and since that's a parsing time issue, better raise AnsibleParserError like the rest of the file. Issue signaled on irc by gordon`
* | Fix for run_command on py3 and enable lineinfile test on py3 (#17257)Toshio Kuratomi2016-08-262-10/+9
| | | | | | | | | | | | * run_command needed a bit of tweaking to its string handling of arguments. * The run_command change fixes the last bit of lineinfile so we can enable its tests
* | Update core submodule to pull in lineinfile py3 fixToshio Kuratomi2016-08-261-7/+8
| |
* | Fix fetch idempotence (#17255)Toshio Kuratomi2016-08-251-1/+2
|/ | | | Fetch always follows symlinks when downloading so it needs to always follow symlinks when getting the checksum of the file as well.
* Merge pull request #17254 from privateip/netcliPeter Sprygada2016-08-251-2/+3
|\ | | | | adds new property command_string to Command object
| * adds new property command_string to Command objectPeter Sprygada2016-08-251-2/+3
| | | | | | | | | | | | | | This adds a new property to the Command object that is used to hold modified command strings that could be different from the command used to create the object. This allows for seamless switch between text and json enabled commands.
* | Merge pull request #17253 from privateip/nxosPeter Sprygada2016-08-251-2/+2
|\ \ | |/ |/| implements command_string property when preparing commands
| * implements command_string property when preparing commandsPeter Sprygada2016-08-251-2/+2
|/ | | | | * commands that need | json added now use command_string property * adds additonal keyword args in exception handling for json commands
* Use post_validated play for serial calculations in TQMJames Cammarata2016-08-251-2/+2
| | | | Fixes #17185
* Fix octal output in a few more places (#17250)Toshio Kuratomi2016-08-253-17/+33
| | | | Fix filetree lookup plugin for python3 (octal output and selinux API takes native strings)
* Merge pull request #17248 from abadger/facts-module-dev-docsJohn R Barker2016-08-251-1/+8
|\ | | | | Couple things to watch out for when reviewing facts modules
| * Couple things to watch out for when reviewing facts modulesToshio Kuratomi2016-08-251-1/+8
|/
* Update submodule refsToshio Kuratomi2016-08-252-14/+14
|
* Get the ssh plugin working with python3 (#17234)Toshio Kuratomi2016-08-253-95/+98
|
* Fix context_demo callback plugin. (#17235)Chris Faulkner2016-08-251-8/+3
|
* Fix get_distribution for Alpine Linux (#17224)Yann Autissier2016-08-251-1/+1
| | | | | | | | | | To override a generic class that is subclassed based on platform, the subclass must define platform and distribution. The load_platform_subclass() calls the get_platform() and get_distribution() methods to detect the platform and the distribution. On Alpine Linux, get_distribution() method returns None and it is not possible to have different implementations based on detected platform.
* Make the extract filter return Undefined on KeyErrorAbhijit Menon-Sen2016-08-251-1/+4
| | | | | | | groups['x']|map('extract', hostvars, 'somevar') would break if any host didn't have 'somevar' set. With this change, it will return Undefined instead. This change permits |map('extract', …)|map('default', 42) to set a default value in such cases.
* Document when clause list of conditions (#17206)Tim Whittington2016-08-251-0/+9
| | | | | The 'when' clause supports a list of conditions, applying a logical 'and' to the conditions (i.e. requiring all of them to be true). This can be useful for legibility sometimes, allowing distinct conditions to be listed on separate lines.
* Update command for generating password (#17170)Tom2016-08-251-1/+1
| | | The option to generate a password is --method=sha-512 instead of --method=SHA-512 which produces a hash not found error
* Updated progress on Python 3 CI and test coverage. (#17245)Matt Clay2016-08-251-0/+2
|
* Merge pull request #17244 from privateip/srosPeter Sprygada2016-08-254-5/+202
|\ | | | | initial add of shared modules for supporting Nokia SROS devices
| * initial add of shared modules for supporting Nokia SROS devicesPeter Sprygada2016-08-254-5/+202
|/ | | | | | This adds a cli transport, netcfg, and netcli implementations for working with devices running Nokia SROS. There is also an update to netcfg to support the sros config file format.
* Fix file and copy modules on py3 and enable tests. (#17239)Matt Clay2016-08-253-4/+2
| | | | | - Fix octal formatting of file mode in module response on py3. - Convert file path to unicode in copy action. - Enable file and copy module tests for py3 now that they pass.
* Enable most unittests on python3 (just some vault unittests and a logging ↵Toshio Kuratomi2016-08-2511-29/+23
| | | | | | | | | | one left) (#17240) Make some python3 fixes to make the unittests pass: * galaxy imports * dictionary iteration in role requirements * swap_stdout helper for unittests * Normalize to text string in a facts.py function
* update 2.2 roadmap network sectionPeter Sprygada2016-08-251-1/+2
|
* Merge pull request #17241 from Shrews/changelogDavid Shrewsbury2016-08-251-0/+1
|\ | | | | Update CHANGELOG for new os_server_group module
| * Update CHANGELOG for new os_server_group moduleDavid Shrewsbury2016-08-251-0/+1
|/
* Merge pull request #13739 from chrrrles/ipaddr_empty_stringAbhijit Menon-Sen2016-08-251-1/+2
|\ | | | | ipaddr filter properly handle addresses on /31 networks
| * properly handle addresses on /31 networksCharles Paul2016-01-061-1/+2
| |
* | Enable more tests that pass on python 3. (#17233)Matt Clay2016-08-241-4/+0
| |
* | Enable integration tests on python3 that are already working (#17212)Toshio Kuratomi2016-08-243-25/+2
| |
* | Merge pull request #17231 from privateip/iosPeter Sprygada2016-08-241-32/+0
|\ \ | | | | | | update ios doc fragments
| * | update ios doc fragmentsPeter Sprygada2016-08-241-32/+0
| | | | | | | | | | | | removes invalid shared arguments from fragment
* | | One more izip_longest => zip_longest fix (#17229)Toshio Kuratomi2016-08-241-3/+2
| | |
* | | Add ad blocks back in (#17228)jlmitch52016-08-241-0/+34
| | |