summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixed typo in asa_config moduleacozine/patch-1Alicia Cozine2018-09-261-1/+1
| | | | | <!--- Your description here --> +label: docsite_pr
* add azure_rm_cdnprofile and azure_rm_cdnprofile_facts (#45097)Yunge Zhu2018-09-277-0/+707
| | | | | | | | | | | | | | | | | | | | | | | | | | * add cdn profile with facts * fix merge issue * fix version * fix lint * move cdn client out of azure_rm_common * fix lint * fix helper * fix code bug * fix bug * fix import * fix typo * fix test
* openshift inventory plugin: fix exception when auth fails (#45826)Pilou2018-09-265-330/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * openshift inventory: fix exception when auth fails Fix 'ForbiddenError' object has no attribute 'message': [WARNING]: * Failed to parse test.yml with openshift plugin: 'ForbiddenError' object has no attribute 'message' File "ansible/lib/ansible/inventory/manager.py", line 270, in parse_source plugin.parse(self._inventory, self._loader, source, cache=cache) File "ansible/lib/ansible/plugins/inventory/openshift.py", line 122, in parse self.setup(config_data, cache, cache_key) File "ansible/lib/ansible/module_utils/k8s/inventory.py", line 58, in setup self.fetch_objects(connections) File "ansible/lib/ansible/module_utils/k8s/inventory.py", line 250, in fetch_objects super(OpenShiftInventoryHelper, self).fetch_objects(connections) File "ansible/lib/ansible/module_utils/k8s/inventory.py", line 81, in fetch_objects namespaces = self.get_available_namespaces(client) File "ansible/lib/ansible/module_utils/k8s/inventory.py", line 95, in get_available_namespaces raise K8sInventoryException('Error fetching Namespace list: {0}'.format(exc.message)) Don't try to get 'message' attribute from: - K8sInventoryException instances - Exception instances - KubernetesException instances (because KubernetesException can be Exception) * move k8s/OpenShift inventory plugin dedicated code inventory plugin specific code should not be located in lib/ansible/module_utils directory. Then ansible.utils methods can be reused (for example Display). * Remove unused class variables 'helper' unused since 4d77878654e867c23d5f6c61422bdae7120393bc.
* add maintainers for k8s lookup and inventory plugins (#46180)Fabian von Feilitzsch2018-09-261-0/+9
|
* Update win_robocopy.py (#38633)aaronk12018-09-271-2/+8
| | | | | | | | | | | | * Update win_robocopy.py <!--- Show example of UNC path copy of a single file, noting trailing backslash required --> +label: docsite_pr * addresses jborean comment, removes double quotes * Remove trailing slash part
* made sros_config docs match code for match options (#46135)Sandra McCann2018-09-262-6/+3
| | | | | | * made docs match code for match options * fixed shippable error
* Bugfixes in Netbox inventory (#45731)Anthony Ruhier2018-09-262-13/+5
| | | | | | | | | | | * Fix headers and params in netbox queries Fix token authentication Remove unused variables regarding api params and headers * Fix python 3 incompatibility in netbox inventory * Cleaning BOTMETA entry
* Added feature facts to nxos_facts (#45934)tstoner2018-09-262-1/+43
| | | | | | | | | | | | | * Added feature facts to nxos_facts * Fixed ansibot indentation * Resolved ansibot whitespace missing after ',' * Per PR suggestion, created method in base class to gather switch config and store in global variable to prevent multiple calls to switch. * Addressed ansibot blank line & whitespace after ,
* fix for banner idempotent issue (#46001)saichint2018-09-261-2/+2
| | | | | | * fix for banner issue * review comments
* cs_resourcelimit: use query_api for error handling (#46036)René Moser2018-09-261-22/+8
|
* cs_ip_address: use query_api, fixes error handling (#46034)René Moser2018-09-261-3/+3
|
* cs_staticnat: fix sanity (#46037)René Moser2018-09-262-28/+11
|
* cs_instance: doc: fix typo in examples (#46035)René Moser2018-09-262-5/+4
|
* docker-py: bump minimal version to 1.8.0 (#46134)Felix Fontein2018-09-267-12/+12
| | | | | * Bumping docker-py minimal version to 1.8.0. * Improve docs formatting.
* VMware: trigger customization for customization_spec (#45415)Abhijeet Kasurde2018-09-261-1/+1
| | | | | | | | This fix allows to trigger VM customization if user specifies customization spec. Fixes: #44159 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* VMware: Add support for service type (#40651)Abhijeet Kasurde2018-09-261-78/+140
| | | | | | | | | * Add support for - Replication, Provisioning * Update documentation * Update example Fixes: #40529 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* win_setup: don't fail when running as non-admin and EAP is set to Stop (#46149)Jordan Borean2018-09-261-1/+2
|
* [docs] Add changelog for ec2_asg launch template featureRyan S. Brown2018-09-251-0/+2
|
* EC2_ASG: Enable support for launch_templates (#45647)Nathan Webster2018-09-251-59/+232
| | | | | | | | | | * Enable support for launch_templates in ec2_asg * Fix asg create with LT and no version number * Update mutually exclusive list * Better function names
* Speed up VariableManager by preserving Templar state. (#45572)Pilou2018-09-251-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Maintain one Templar for the lifetime of VariableManager, calling set_available_variables() prior to each use, enabling _get_filter()'s cache to function correctly. It does not seem possible for concurrent calls into one (non-copied) VariableManager instance, and so it need not be reentrant. If that became a requirement, serializing its or Templar's entry points would be fine, as it's so CPU-heavy other threads will only fight with it for the GIL anyway. Reduces _get_filters() runtime 91%, get_vars() runtime 19%, function call count 16%, overall runtime 10%. Tested aginst dummy load comprised of the 12 disabled steps of debops.auth with an inventory of 80 hosts, which stresses variable processing and task setup. Before: 7447296 function calls (7253994 primitive calls) in 32.611 seconds Ordered by: cumulative time ncalls tottime percall cumtime percall filename:lineno(function) 1 0.000 0.000 32.762 32.762 ansible-playbook:3(<module>) 1 0.007 0.007 31.733 31.733 ansible-playbook:21(<module>) ... 1371/971 0.671 0.000 21.332 0.022 manager.py:154(get_vars) ... 3044 0.315 0.000 5.166 0.002 __init__.py:295(_get_filters) After: 6252978 function calls (6059638 primitive calls) in 29.055 seconds Ordered by: cumulative time ncalls tottime percall cumtime percall filename:lineno(function) 1 0.000 0.000 29.218 29.218 ansible-playbook:3(<module>) 1 0.007 0.007 28.159 28.159 ansible-playbook:21(<module>) ... 1371/971 0.675 0.000 17.211 0.018 manager.py:154(get_vars) ... 3044 0.028 0.000 0.441 0.000 __init__.py:295(_get_filters)
* skip installing linux-image-extra in CI as it shouldn't be needed (#46101)Jordan Borean2018-09-261-10/+0
|
* [azure] Fix name for the symbol * in docs (#46119)José Maia2018-09-251-2/+2
| | | | | Correct name is "asterisk", not "asterix", which is a popular franco-belgian comic character! +label: docsite_pr
* allow jinja2 unique filter compat (#45637)Brian Coca2018-09-252-39/+81
| | | | | | | | | | * allow jinja2 unique filter compat * detect if unique is provided, fallback with warning * handle j2 specific params * now all filters using unique must pass environment * added env to tests also normalized on how we normally import and use exceptoins
* botmeta support: core (#45917)John R Barker2018-09-252-0/+7
| | | * botmeta enforce `support: core`
* fix for managed disk facts (#46021)Zim Kalinowski2018-09-261-1/+1
|
* ROADMAP_2_8 stub (#46120)John R Barker2018-09-251-0/+19
| | | | | | * ROADMAP_2_8 stub * Update ROADMAP_2_8.rst
* Add a guide for Scaleway (#44810)Rémy Léone2018-09-251-0/+244
|
* feat: add scaleway security group module (#45686)abarbare2018-09-255-0/+374
| | | | | fix: pep8 coding style fix: error order requests
* pylint plugin to catch due/past-due deprecated calls (#44143)Matt Martz2018-09-255-1/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start of work on pylint plugin to catch due/past-due deprecated calls * Improve deprecated pylint plugin * Catch call to AnsibleModule.deprecate also * Skip splatted kwargs, we can't infer that info * Add error for invalid version in deprecation * Skip version if it's a reference to a var * Disable ansible-deprecated-no-version for displaying deprecated module info * fix comments * is None * Force specifying a version, this can be disabled on a per case basis * Disable ansible-deprecated-version by default * Remove to look for 2.8 deprecated * Revert "Remove to look for 2.8 deprecated" This reverts commit 4e84034fd104879f429f0262ff0b2317e3d08deb. * Add script and template used for creating issues for deprecated issues * Fix underscore var
* cs_instance: fix host migration without volume (#46115)René Moser2018-09-251-1/+1
|
* Fix _uri option documentation for cache plugins that expect stringss-hertel2018-09-253-3/+0
|
* [docs] Fix typos in aws_s3 and s3_bucket module docs (#46106)Abhijeet Kasurde2018-09-252-2/+2
| | | | | Eucalypus to Eucalyptus Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* restores legacy testing file (#46095)Alicia Cozine2018-09-252-1/+109
| | | | | | | | * restores legacy testing file * corrects links to legacy testing page * oops, copy-pasta fix
* homebrew_cask: Pass install_options during uninstall (#44938)newtonne2018-09-251-3/+5
| | | | | Until https://github.com/Homebrew/homebrew-cask/issues/40866 is fixed, install_options should be passed when uninstalling casks to ensure that all artefacts are removed.
* fixed nxos_aaa_server_host issue with type 7 encrypt key (#46015)Dan2018-09-253-0/+49
| | | | | | * fixed nxos_aaa_server_host issue with type 7 encrypt and added test cases * added idempotence tests
* spotinst_aws_elastigroup elastic_ips example (#41190)Hirshr2018-09-251-1/+1
| | | * Update spotinst_aws_elastigroup.py
* Update synchronize.py, mention variable ansible_rsync_path needed for ↵tomww2018-09-251-1/+15
| | | | | | | | | | different local rsync binary (#41870) * Update synchronize.py If you want a different rsync binary on the local side, you need to set task variable ansible_rsync_path. See examples. Variable ansible_rsync_path looks to not be documented anywhere. If documented, needs to be said that is does not belong to synchronise options, instead belongs to tasks. (Sorry, I have no better wording)
* Update sl_vm.py (#43966)Anoop Sood2018-09-251-2/+4
| | | | | * Update sl_vm.py Updated the list of datacenters to include new datacenters.
* The sshkey option is available in version 2.7 and above (#46103)akira65922018-09-251-1/+1
|
* Fix iterator to list conversion in ldap_entry moduleGustavo Muniz do Carmo2018-09-251-1/+1
| | | PR #45778 fixes #45417
* Generalize config retrieval in ios_l3_interface module (#45270)Joachim Mathes2018-09-251-1/+1
| | | This makes it work with Cisco 3750E.
* Add ospf net type (#45904)Dan2018-09-253-1/+28
| | | | | | | | * Added ospf network type option to nxos_interface_ospf module * Added documentation and example for the 'network' parameter * adding version
* [rabbitmq_binding] Fix the quoting of vhost and other names (#45109)Tobias Wolf2018-09-251-7/+7
| | | | | | * [rabbitmq_binding] Fix the quoting of vhost and other names, which was broken in PR #35651 * Merge missing urllib_parse.quote from PR #42422 * Missed one line, where also needs to be escaped, i.e., the destination
* Additional feature enhancements to nxos_logging (#45844)tstoner2018-09-256-43/+760
| | | | | | | | | | | | | * Various changes to nxos_logging. Plus added purge capibility. * Made a few new nxapi_logging test cases conditional based on version and/or platform. * Addressed PR comments and ansibot shippable. Fixed up nxos_logging documentation format. * Addressed ansibot shippable issues with whitespaces and documentation. * Resolved ansibot codestyle trailing whitespace
* async tests: add stability (#46100)Jordan Borean2018-09-251-3/+1
|
* winrm: add further conditional to using pexect for kerb auth (#45952)Jordan Borean2018-09-252-5/+20
|
* adds support for null values to the ternary filter (#45303)Peter Sprygada2018-09-242-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adds support for null values to the ternary filter This change adds a third optional argument to the ternary filter to handle a null value. If the third option is specified null and false are treated differently. For instance, take the following example: {{ enabled | ternary('no shutdown', 'shutdown') }} If enabled == True, then 'no shutdown' is used. If enabled in (False, None), then 'shutdown' is used. With this change the following is possible: {{ enabled | ternary('no shutdown', 'shutdown', omit) }} If enabled == True, then 'no shutdown' If enabled == False, then 'shutdown' If enabled == None, then omit * update documentation with example of filter * update filter documentation example per comments * fix logic error in user_guide example
* explicitly set LocalAccountTokenFilterPolicy on WinRM configure script (#45947)Jordan Borean2018-09-251-0/+15
|
* Update typetalk.py to use com domain (#46045)Horie Issei2018-09-241-3/+3
| | | | | | Typetalk now uses "com" domain. FYI: https://www.typetalk.com/blog/typetalk-gets-new-top-level-domain-typetalk-com/ +label: docsite_pr
* Perform full RETURN schema validation in one step, don't try to loop (#46079)Matt Martz2018-09-243-39/+45
|