Gawain
6608629d25
Add 'mac_address' to the attributes returned from the vmware_vm_facts module ( #26527 )
...
* Add 'mac_address' to the attributes returned from the vmware_vm_facts module
* fix pep8 issue
7 years ago
Ricardo Carrillo Cruz
ca5439e1e2
Switch to save_when on EAPI tests as well ( #26807 )
...
save is deprecated.
7 years ago
Ganesh Nalawade
751ad7021c
vyos implementation for net_interface module ( #26799 )
...
* vyos implementation for net_interface module
* vyos_interface implementation module
* vyos_interface integration test
* net_interface integration test for vyos
* Change collection to aggregate
7 years ago
Abhijeet Kasurde
a1977d9654
Remove redundant get_obj method ( #26324 )
...
vmware_guest_facts has redundant get_obj method, this can
be removed safetly.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Abhijeet Kasurde
c10a59b745
Add testcase for vmware_vm_facts ( #26342 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Toshio Kuratomi
e986e31a75
This function is for setting variables on hosts. So those two parts are always required.
...
Don't have to check for the existence of those in the function. If they
aren't set to iterables then it should be up to the calling code to
handle it.
7 years ago
Abhijeet Kasurde
b4a58b65fb
Add param for snapshot subtree removal ( #26576 )
...
Fix adds a parameter for removing snapshot subtree.
Fixes : #26522
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Matt Clay
789218c215
Initial ansible-test sanity docs. ( #26775 )
...
* Rename no-iterkeys test for consistency.
* Require docs for all ansible-test sanity tests.
* Initial ansible-test sanity docs.
* Fix capitalization of Python.
* Fix sanity code smell test false positives.
* Fix another code-smell false positive.
7 years ago
Peter Sprygada
b9a1998af5
changes `changed` to `modified` in save_when choices ( #26801 )
7 years ago
Peter Sprygada
3bbb32cac5
fixes error when trying to run show start over eapi ( #26800 )
7 years ago
Abhijeet Kasurde
156b29b26b
Fix for check_mode in archive ( #26788 )
...
Fix adds check_mode fix for archive module. Also,
adds unit tests for archive module
Fixes : #26750
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Ricardo Carrillo Cruz
8333a8b908
Fix eos_config defaults logic ( #26798 )
...
Current code is bogus, it was passing flags all unconditionally.
7 years ago
Robin Roth
d4482761ba
Make lujeni only maintainter of mongodb_user ( #26789 )
7 years ago
Robin Roth
a94055f0e1
Update pip maintainers ( #26790 )
...
mattupstate is no longer active and agreed via email to pass on
maintainership
7 years ago
Lujeni
661791dcb7
Fix the editable condition into pip module ( #19028 ) ( #19688 )
...
* Fix the editable condition into pip module (#19028 )
* Add editable to tests
Default changed to False, so now editable: True is needed explicitly in
tests
7 years ago
Morgan Robertson
44730c28cc
Allow creation of Mongo user via localhost exception ( #22792 )
...
* Allow creation of user with localhost exception.
Fixes #22791
When access control is enabled, Mongo allows a user to be created from
localhost (called the "localhost exception":
https://docs.mongodb.com/v3.2/core/security-users/#localhost-exception ).
When the `update_password` parameter was added to this module in
Ansible 2.1, this functionality was broken due to a query performed
before `user_add()` is called. This fix only performs the query when
when `update_password` is set to `on-create`, allowing a user to be
created via the localhost exception.
* Only set `password = None` when user exists.
7 years ago
Lujeni
640131c464
Missing documentation about the include directive for requirements files ( #20090 )
...
* Missing documentation about the include directive for requirements files
* Code block needs blank line
* Correct casing
7 years ago
Matt Clay
7bc85f9b44
Restore zypper tests. ( #26784 )
...
* Revert "Temporarily disable zypper tests due to timeouts."
This reverts commit 25f943e22f
.
* Revert "Disable zypper_repository tests due to errors."
This reverts commit 5833197a19
.
7 years ago
Matt Clay
e1b9af9082
Add retries to remote test package installs.
7 years ago
Will Thames
0ed1c3ba9c
Split up testing IAM policies and automate creating them ( #26223 )
...
* Split up testing IAM policies and automate creating them
Move to managed policies to avoid the 5KB limit on policies
for an IAM entity.
The policy file is templated, so need to make sure that there
is an easy mechanism to populate the templates and push the
new policies.
* Update IAM policies for ec2_scaling_policy tests
* Fix RouteTable policies
DescribeRouteTable should be plural
ModifyRouteTable does not exist, but ReplaceRouteTableAssociation
does.
* Some IAM policies do not allow specified Resources
Various IAM policies do not allow Resources
to be specified and should just use `*`. This differs
per service
* [Autoscaling](http://docs.aws.amazon.com/autoscaling/latest/userguide/control-access-using-iam.html#policy-auto-scaling-resources )
* [EC2](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ec2-api-permissions.html#ec2-api-unsupported-resource-permissions )
* [ECR](http://docs.aws.amazon.com/AmazonECR/latest/userguide/ecr-supported-iam-actions-resources.html )
* [ELB](http://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/load-balancer-authentication-access-control.html )
* Finish fixing AWS IAM resource specifications for testing
Update Lambda and RDS policies
7 years ago
scottb
4f01a323a0
Replace 'simple module development' topic ( #26267 )
...
* WIP: Initial bulk move of quick start content into rst docs. Needs rewrite.
* Swapping out old quick start for new material (thanks @tstringer!). Still work in progress.
* Fixed formatting; removed extraneous file.
* Fixed some formatting errors.
* Once more, with feeling.
* Fixed formatting error
7 years ago
jctanner
245a4d30b9
vmware_guest: fix datastore selection on equal sized disks and add tests ( #26774 )
...
* Fix datastore selection on equal sized disks and add tests
7 years ago
Will Thames
df321e8579
[cloud] change iam_managed_policy return to snake_case ( #26219 )
...
* Change iam_managed_policy to return snake case
Import module_utils.ec2 methods explicitly
* iam_managed_policy: tidy argument spec
Remove unnecessary specifications (`default=None`, `required=False`)
Use `required_if` to check for `policy` when `state` is `present`
* Provide exception handling in iam_managed_policy
Pretty much all AWS API calls can go wrong, and we should handle them.
Update line wrapping to improve readability of method calls
* Improve error handling when policy version limit exceeded
Better document policy version limit exceeded, and check
the error code to see that that's actually what happened
(rather than e.g. no permissions to add a new version)
* iam_managed_policy: better handle pagination and retry
7 years ago
Takuya Sato
179e2882f7
ecs_taskdefinition module: containers.environment convert to string ( fix #23297 ) ( #23681 )
...
It is to fix the failed comparison of containers.
7 years ago
Rene Moser
a4359d5818
cloudstack: cs_role: add integration tests
7 years ago
Rene Moser
6d81c9670f
cloudstack: cs_role: fix UnboundLocalError in check mode
7 years ago
Brian Coca
3a1b84153c
ensure all groups inherit from 'all'
7 years ago
Brian Coca
84367eacef
added ansible_remote_tmp inventory var ( #26754 )
...
* added ansible_remote_tmp inventory var
* fixed horrible crime of no space after #
7 years ago
Matt Clay
462444b2be
PEP 8 fix.
7 years ago
Nathaniel Case
62e4353ba1
nxos_facts cleanup ( #26192 )
7 years ago
Nathaniel Case
f3acf9c929
Fix NX-API json handling ( #26716 )
7 years ago
Graham Mainwaring
cde36b883c
Fix pycrypto backend setting to work when multiple distros are specified in DEB_DIST
7 years ago
Sloane Hertel
ed51380c2c
[cloud] ec2_vol module snapshot and volume_size are not mutually exclusive ( #26764 )
7 years ago
Pilou
2a92120ffa
INI inventory plugin: add documentation about variable types ( #25798 )
...
* INI inventory: check variable types
* INI inventory: add doc about variable types
Fixes #25784
7 years ago
Ricardo Carrillo Cruz
af4dc6d0eb
Add vyos_lldp and vyos_lldp_interface modules ( #26753 )
...
* Add vyos_lldp and vyos_lldp_interface modules
* Fix module docstring issue
* Fix bogus aggregate reference
* Add vyos_lldp integration tests
* Add vyos_lldp_interface integration tests
* Remove unused import for run_commands
* Add VyOS net_lldp integration tests
* Remove junos and netconf from net_lldp integration tests
* Add net_lldp_interface integration tests
* Correct CLI filtering tests for VyOS
* Fix pep8 issues
* Fix more pep8 issues
7 years ago
Pilou
4b3d6dfa8a
Use pycodestyle instead of pep8 ( #25947 )
7 years ago
René Moser
7329a392ff
cloudstack: cs_region: add integration tests ( #26767 )
7 years ago
Matt Clay
fad469efca
Ignore platform_agnostic.yaml in ansible-test.
7 years ago
William Leemans
267d0fb400
Update hpilo_boot.py ( #24499 )
...
* Update hpilo_boot.py
Add option to change the ssl version to connect to the remotr iLO
* Update hpilo_boot.py
added version_added
* Update hpilo_boot.py
fix lib/ansible/modules/remote_management/hpilo/hpilo_boot.py:83:25: W291 trailing whitespace
* Update hpilo_boot.py
nitpicking fixes :)
7 years ago
William Leemans
ae3a6cd931
Update hpilo_facts.py ( #24503 )
...
* Update hpilo_facts.py
Add option to change the ssl version used to connect to the remote iLO
* Update hpilo_facts.py
addition of spaces after commas in lists and replace()
7 years ago
Toshio Kuratomi
b49be56c5b
Need regex and string types to match when cleaning arguments for logging
...
Fixes #25078
7 years ago
Matt Clay
5833197a19
Disable zypper_repository tests due to errors.
7 years ago
Ricardo Carrillo Cruz
5719687920
Split net_lldp into net_lldp (service) and net_lldp_interface ( #26757 )
7 years ago
Christian Pointner
34c0abd106
Openssl csr fixes ( #26110 )
...
* openssl_csr: fix for python3
* openssl_csr: actually check for existence of pyOpenSSL
* pep8 compliance
* fixes for python 2.6 and 3
7 years ago
Ricardo Carrillo Cruz
5a20095b04
Add missing __init__.py on network protocol folder ( #26742 )
7 years ago
Ricardo Carrillo Cruz
9e819eeee8
Add net_lldp platform agnostic module ( #26738 )
7 years ago
Peter Sprygada
41c1457823
adds put_file and fetch_file implementations for cliconf plugin ( #26728 )
7 years ago
Matt Clay
0b784c65b1
Add sanity import test to ansible-test. ( #26730 )
...
* Add sanity import test to ansible-test.
* Run sanity import test on all python versions.
7 years ago
Matt Davis
74cc99fa35
enable minimal test for win_chocolatey in shippable ( #26731 )
...
* until we can have a robust internal source for chocolatey (and/or PSScriptAnalyzer sanity tests), we want to at least make sure that the module is syntactially valid.
7 years ago
Matt Clay
20d49af475
Add ANSIBLE_TEST_CI env var to integration tests.
7 years ago