summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Optimize template (#28044)Toshio Kuratomi2017-08-114-86/+51
| | | | | | | | | | | | | | | | | | | * Optimize template * In fixing template to handle diff correctly #24477, I introduced more round trips to the remote end which slowed things down The new code now uses one fewer round trips than the old code. * Reimplement a large part of template by calling the copy action plugin instead of doing it in template's code. This reduces the code in template and gives us one place to fix bugs and optimize. * Add a follow parameter to template that mirrors the follow parameters for file and copy. * Fix copy's diff handling (probably broken in my rewrite for in 2.4 development) * Adjusted when copy creates tmp dirs to rduce round trips in copy and template. Fixes #27956
* Add Azure support to ansible-test. (#28092)Matt Clay2017-08-1111-8/+261
| | | | | | | | | * Initial Azure cloud testing support. * Add missing Azure requirements. * Fix test handling of setup and requirements. * Update Azure cloud plugin. * Add setup_azure role for integration tests. * Update minimal Azure integration test sample.
* Migrate roles from ansible/azure-testing (#28074)Matt Clay2017-08-1115-0/+1922
| | | | | | * Migrate roles from ansible/azure-testing as-is. * Fix yamllint issues. * Remove unused binary file.
* Update aci_tenant to support check_mode (#28090)Jacob McGill2017-08-111-39/+41
|
* update aci module util with methods to support check_mode and idempotency ↵Jacob McGill2017-08-121-0/+178
| | | | (#28089)
* Fix indentationDag Wieers2017-08-111-1/+1
| | | Don't use the Github editor :-/
* Add new maintainer for ACIDag Wieers2017-08-111-3/+5
|
* Documentation fixes. (#28047)Jason Lingohr2017-08-111-6/+7
| | | | | | * Documentation fixes. * Update win_route.py
* Typo in module example code (#28064)Stefan Midjich2017-08-111-1/+1
| | | In the DOCUMENTATION constant there is a typo on line 85 of this rst file.
* Update ansible-test handling of setup.py changes.Matt Clay2017-08-111-1/+10
|
* Fix idempotency for Unix permissions in zip files. (#24580)chriskarel2017-08-112-13/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix idempotency for Unix permissions in zip files. This fix prevents the unarchive module from reporting 'changed' when a zipfile contains items with Unix permissions that differ from the system default. * Update zip unarchive tests. Additional tests for the unarchive module with zip files: - Test file in zip archive with non-default permissions - Test file added to zip archive with Windows permissions * Additional fix for mixed win/unix archives. Turns out my original fix fails under some mixed archives, as setting the umask to zero can be applied to those files. This creates a per-file umask variable, so a mix of permission types don't cause problems. * CI Checks CI checks for archives with: * non default Unix permissions * Windows permissions * Workaround for BSD differences. Using Zipinfo due to lack of support in BSD unzip. Permissions handling is also different in BSD -- always applies UMASK to file permissions. * Added checks for creating directories and SSH keys for existing users.
* [cloud] Allow S3 module to correctly delete objects by groups of <= 1000 ↵Sloane Hertel2017-08-111-6/+5
| | | | (#28068)
* validate include_role args (#28077)Brian Coca2017-08-111-10/+18
| | | | | | | | | | | | * validate include_role args * nicer error msg * removed unused static * updated as per feedback * pepe ATE
* Fix for broken azure requirementsToshio Kuratomi2017-08-111-12/+12
| | | | | Older setuptools does not understand ~= versioning. Guess at a range that could be compatible to unbreak CI.
* fix issue with trailing white space when logging into asa (#28073)Jacob McGill2017-08-111-1/+1
|
* fix nxos_snapshot (#27993)Trishna Guha2017-08-111-84/+15
| | | Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fixes command to be sent over nxapi for nxos_file_copy (#28029)Peter Sprygada2017-08-111-6/+3
| | | fixes #27347
* Allow the Openstack dynamic inventory to discover ansible_user (#17944)Alvaro Aleman2017-08-111-0/+8
|
* Fixes for broken asa_config module (#27218)Patrick Ogenstad2017-08-115-50/+136
| | | | | | * Fixes for broken asa_config module * strip() prompt before checking
* [cloud] Make ec2_asg more resilient using AWSRetry around boto3 calls (#27598)Sloane Hertel2017-08-111-85/+149
| | | | | | | | | | | | * Add AWSRetry to ec2_asg * Paginate describing ASGs and launch configurations pass connection to delete_asg Fix a couple little bugs * Use boto3's pagination build_full_result()
* Add support for Azure 2.0.0 (#27920)Thomas Stringer2017-08-1117-51/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adapt azure_rm_resource_group to azure 2.0.0 + azure Cli support * Fix exceptions in Azure ARM plugins * update azure_rm_networkinterface documention to reflect required params * change state param to not required for docs in azure_rm_subnet * fix import to reflect azure==2.0.0 changes * add aliases and fix docs for azure_rm_storageblob * add resource_group_name alias to azure_rm_storageaccount_facts * fix import bug due to change in azure==2.0.0 * fix args bug and enum modules issue * update docs to reflect azure==2.0.0 * pin management clients to a specific api_version * update docs to reflect the new azure-ansible-base python package * add fallback for older api resource group listing * rework azure dependencies installation * refactor path joining to a cross-plat solution
* Refactor E-Series Hosts module to use module_utils (#20893)Michael Price2017-08-111-61/+4
| | | | Refactor the NetApp E-Series module to utlize the common module_utils and doc_fragments.
* Replace username for name in eos_user integration tests (#28067)Ricardo Carrillo Cruz2017-08-111-3/+3
| | | | | | | | username param is read by eos action plugion load_provider, if present it is set as the play context remote user. That means if you have a play remote_user: admin it won't be used, but instead whatever is put in the task argument username. Changing the tests to use name fixes the issue, we may want to remove username as valid module argument in other change.
* Don't compare group_vars paths with bytestrings (#27922)Brandon Schlueter2017-08-111-1/+1
| | | | | | * Don't compare group_vars paths with bytestrings * Compare spath with unicode string in VarsModule
* Fix nxos_snmp_contact, others (#28000)Nathaniel Case2017-08-115-254/+83
| | | | | | | | | | | | | | | | | | | | | | * Fix nxos_snmp_contact Fixes #27714 * Fix nxos_snmp_community Fixes #27711 * Fix nxos_install_os Fixes #27604 * Update nxos_ntp_auth Fixes #27521 * Fix nxos_igmp_snooping Fixes #27501
* [cloud] Convert `s3` module to use boto3 (#21529)Sloane Hertel2017-08-114-310/+288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * replace boto with boto3 for the s3 module make s3 pep8 and remove from legacy files fix s3 unit tests * fix indentation * s3 module - if we can't create an MD5 sum return None and always upload file * remove Location.DEFAULT which isn't used in boto3 and tidy up the docs * pep8 * s3: remove default: null, empty aliases, and required: false from documentation fix incorrectly documented defaults * Porting s3 to boto3. Simplify some logic and remove unused imports * Fix s3 module variables * Fix a typo in s3 module and remove from pep8 legacy files * s3: add pagination for listing objects. Fix logic and use head_object instead of get_object for efficiency. Fix typo in unit test. * Fix pagination to maintain backwards compatibility. Fix incorrect conditional. Remove redundant variable assignment. Fix s3 list_object pagination to return all pages * Use the revised List Objects API as recommended. * Wrap call to paginated_list in a try/except Also remembered to allow marker/prefix/max_keys to modify what keys are listed * Simplify argument
* [cloud] ovirt: add headers param to auth (#27881)Michele Zuccala2017-08-114-0/+17
| | | | | | | | | | * Add filter param to ovirt module auth * Update docs to include new filter param * Fix broken YAML * Replace filter param with headers
* blockinfile: add --diff support in check mode (#27997)giovannisciortino2017-08-111-5/+23
|
* use of multiple chocolatey package names (#28046)Rich Murphey2017-08-111-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * use of multiple chocolatey package names It might be helpful to users, to clarify whether/when <name:> must specify a single package. Users who are familiar with chocolatey may be accustomed to installing multiple packages in a single invocation of 'choco install'. I believe win_chocolatey currently accepts multiple package names when state: is latest or present. For instance, this appears to work currently: - win_chocolatey: name: >- pscx windirstat state: latest However, when state: is absent, uninstall is not performed if multiple package are specified. The chocolate.log output suggests that chocolatey is treating the multiple packages as an 'exact' name of a single package name: 2017-08-10 19:04:04,087 2424 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" list --local-only --exact pscx windirstat 2017-08-10 19:04:04,087 2424 [DEBUG] - Received arguments: list --local-only --exact pscx windirstat I find the current behavior helpful in terms of accepting multiple package names, even if uninstall must be treated differently. It might be helpful to show an example of how multiple uninstalls can be handled by looping over them. - win_chocolatey: name: "{{ item }}" state: absent with_items: - pscx - windirstat * revise per Jordan Borean. remote colon (:) from text. revise formating. * Update win_chocolatey.py
* Use ChocolateyInstall env variable after installation (#27812)Nathan Hyde2017-08-111-1/+24
| | | | | | | | | | | | | | | | | | | * Use ChocolateyInstall env variable after installation Fixes #19725 Custom install locations specified by the ChocolateyInstall env variable in win_chocolatey After an initial install of chocolatey, use the ChocolateyInstall environment variable when assigning $script:executable . * Improve process of locating "choco.exe" post-initial install Implement feedback for locating choco: * Check if choco.exe is in PATH, if there use this * If not in path and ChocolateyInstall var is available, use that * Otherwise, use the equivalent of Windows Special Folder CommonApplicationData for locating chocolatey. (Chocolatey install (v0.10.7) uses CommonApplicationData when ChocolateyInstall is not set.)
* win_get_url.ps1 - enable TLS1.1/TLS1.2 if they're available but disabled ↵Dave2017-08-111-0/+9
| | | | (#26833)
* New module: Add module or managing Windows Active Directory users ↵Nick Chandler2017-08-112-0/+590
| | | | | | | | | | | | | | | | | | | | | | | | | | (windows/win_domain_user) (#24075) * Initial win_domain_user module support * Add return information * Update return values * Add try/catch for PS module import * Improve win_domain_user module * Fix bad merge * Fix pep8 failure * Actually fix pep8 failure * Update win_domain_user.py to meet standards * Add check_mode support for win_domain_user * Updated documentation before merge
* updated changelog for windows (#28040)Jordan Borean2017-08-113-2/+11
|
* Don't fail coverage reporting due to parse errors.Matt Clay2017-08-101-2/+2
|
* restore the ability to issue commands over junos cli (#28025)Peter Sprygada2017-08-102-1/+16
| | | | | | | | * restore the ability to issue commands over junos cli * add warn message for invalid arguments * fix issue when checking if provider transport is set
* win_hotfix: new module to install Windows hotfixes (#27260)Jordan Borean2017-08-117-0/+743
| | | | | | | | | | * win_hotfix: new module to install Windows hotfixes * revert to older module util loader style to satisfy the checks for now * Changes from PR * changed the test hotfix so we can run tests in shippable
* win_mapped_drive: new module (#27020)Jordan Borean2017-08-116-0/+555
| | | | | | * win_mapped_drive: new module * Rebased from upstream and updated copyright text
* win_user_right: add module with tests (#26276)Jordan Borean2017-08-117-0/+955
| | | | | | | | | | | | | | | | * win_user_right: add module with tests * fixed up name of module in docs * forgot the test module * fixed up whitespace * changes made to win_user_right based on feedback * moved away from using secedit to Win32 with P/Invoke * tidied up copyright for documentation
* Made the applicable targets as PHONY (#27996)Miyurz2017-08-101-0/+29
| | | https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
* added docs for undocumented play object entriesBrian Coca2017-08-101-0/+9
|
* support OS_CLOUD in openstack dynamic inventoryGerard Lynch2017-08-101-7/+14
| | | | | allow a user to limit to a single cloud in clouds.yaml, and support per-cloud caching.
* OS dynamic inventory: respect OS_CLOUD env varAlvaro Aleman2017-08-101-0/+1
|
* fixed a syntax problem that was preventing a warning box from being displayedDavid Newswanger2017-08-101-19/+18
|
* Fix fallback and boolean check in argspec (#27994)Ganesh Nalawade2017-08-102-6/+70
| | | | | | | Fixes #27978 * Add missing assignment for param key in fallback handling * Add check for frozenset type * Unit testcase
* Redhat subscription proxy support (#22544)Philip Gough2017-08-101-4/+50
|
* Minor fix in docsPrasad Katti2017-08-101-0/+1
|
* nxos_smu: fix Structured output unsupported error in nxapi (#27976)David Newswanger2017-08-101-18/+27
| | | * fixed structured output unsupported error
* Implement purge on eos_vrf (#28013)Ricardo Carrillo Cruz2017-08-102-1/+36
|
* yum: do not hide yum's errors (#27696)Martin Krizek2017-08-102-30/+110
|
* add playbook runtime stat in the logstash callback stats (#25785)Rémi REY2017-08-101-0/+5
|