Alexey Sheplyakov
37361d9b0b
pkg_mgr: fixed apt_rpm detection ( #43769 )
...
Instead of checking the distribution name (which apparently is tricky to find out)
check if /usr/bin/apt-get is managed by RPM.
Fixes #43539
2018-08-10 15:16:15 -04:00
Brian Coca
9be3a7dde5
handle env exception in gathering even no inject ( #43569 )
...
* handle env exception in gathering even no inject
(cherry picked from commit 60e3b9b3527daea6d9fb75a80cc14b35923748f3)
2018-08-10 15:11:20 -04:00
Chris Archibald
479408330e
Adding Common files for NetApp ElementSW release ( #43727 )
...
* MVP2 Post ElementSW OSRB sync
* Revert "MVP2 Post ElementSW OSRB sync"
This reverts commit c13db2ad962cd56bffce052c2891c558a2240c72.
2018-08-10 09:33:08 -07:00
ssemyonov
7a4517a067
Introduce force
and verbose
options in serverless module ( #43947 )
...
* Introduce `force` and `verbose` options in serverless module
* Add "version_added: 2.7" for the new `force` and `verbose` options
2018-08-10 12:30:36 -04:00
Matt Martz
c1c229c6d4
Remove use of simplejson throughout code base ( #43548 )
...
* Remove use of simplejson throughout code base. Fixes #42761
* Address failing tests
* Remove simplejson from contrib and other outlying files
* Add changelog fragment for simplejson removal
2018-08-10 11:13:29 -05:00
Trishna Guha
96346938ee
nxos_vlan refactor to support non structured output ( #43805 )
...
* nxos_vlan refactor to support non structured output
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* unittest fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* minor fixes
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* use check_rc
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* address review comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* remove additional return statement
* address Nate's review
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-08-10 21:03:56 +05:30
Nathaniel Case
f221105882
Prevent data being truncated over persistent connection socket ( #43885 )
...
* Change how data is sent to the persistent connection socket.
We can't rely on readline(), so send the size of the data first. We can
then read that many bytes from the stream on the recieving end.
* Set pty to noncanonical mode before sending
* Now that we send data length, we don't need a sentinel anymore
* Copy socket changes to persistent, too
* Use os.write instead of fdopen()ing and using that.
* Follow pickle with sha1sum of pickle
* Swap order of vars and init being passed to ansible-connection
2018-08-10 09:26:58 -04:00
Ganesh Nalawade
d1de1e0449
Update iosxr cliconf plugin ( #43837 )
...
* Update iosxr cliconf plugin
Fixes #39056
* Update iosxr cliconf plugin
* Modify iosxr module_utils code to support
refactored cliconf plugin api's
* Other minor changes
* Fix unit test failure
* Update ios, eos, nxos plugin for diff
* Fix review comment
2018-08-10 13:12:51 +05:30
Jordan Borean
7b1cc11685
win_domain modules: ensure Netlogon service is still running after promotion ( #43703 )
2018-08-10 16:17:45 +10:00
Deepak Agrawal
8eaebf86b6
openvswitch_db : Handle column value conversion and idempotency in no_key case ( #43869 )
...
* change column value to string. handle idempotency in no key case
* fix unit test failures in baseline
2018-08-10 10:31:03 +05:30
Dag Wieers
2974df9d5e
Fix typo
2018-08-10 01:34:23 +02:00
Ryan Brown
b9df8564a2
Fix spelling of ansbile to ansible ( #43898 )
2018-08-09 18:32:42 -04:00
Luca Lorenzetto
cdb5140ade
New module for managing EMC VNX Block storage ( #42945 )
...
* New module for managing EMC VNX Block storage
With the module emc_vnx_sg_member users can add or remove luns from
existing storage groups.
This module has been developed in couple with emc_vnx_mv_promote for
disaster recovery process automation, but can be used by itself.
2018-08-09 10:38:26 -07:00
mbusbee
b851321b65
VMware: datastore selection ( #35812 )
...
This fix adds additional parameter 'datastore'. This parameter
provides a flexibility to specify custom datastore or datastore cluster
to deploy new virtual machine from template (which is located in different
datastore or datastore cluster from virtual machine's datastore or datastore
cluster).
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-08-09 22:50:46 +05:30
Nathaniel Case
0f554f9208
Remove unnecessary features from cli_command ( #43829 )
...
* Remove wait_for & associated params
* Upgrade command dict to top-level, remove more wait_for accessories
* We don't need all this anymore
* Update docs
* Update tests to new argspec
* Be a little more explicit about sendonly
Also remove reference to the word provider.
* Add example of prompt and answer
2018-08-09 12:46:38 -04:00
Pilou
32eab149b6
[doc] import_role: mention version from which behavior changed and fix some typos ( #43843 )
...
* [doc] fix some typos
* [doc] import_role: mention version from which behavior changed
2018-08-09 09:00:59 -05:00
Nilashish Chakraborty
59cd693218
Add source interface and use-vrf features ( #43418 )
2018-08-09 18:36:54 +05:30
Abhijeet Kasurde
bc84f69ae0
Fix unreferenced msg from vmware_host ( #43872 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-08-09 15:44:50 +05:30
Trishna Guha
55f8b9fa71
set supports_generate_diff to False vyos ( #43873 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-08-09 15:37:08 +05:30
Alex Bush
d1d08304f9
azure_rm_loadbalancer_facts.py: list() takes at least 2 arguments fix ( #29046 ) ( #29050 )
2018-08-09 15:07:38 +08:00
Antoine Cotten
6741e98c04
azure_rm_deployment: collect tags from existing Resource Group ( #26104 )
2018-08-09 15:04:30 +08:00
Abhijeet Kasurde
e364d717cb
VMware: remove unused imports ( #43804 )
...
Idea taken from https://github.com/ansible/ansible/pull/43402
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-08-09 10:34:55 +05:30
Dag Wieers
ddf3ba01d2
aci_fabric_node: Fix idempotency (with newer ACI ?) ( #43848 )
2018-08-09 02:27:22 +02:00
Dag Wieers
02b5057392
Support dash-separated leaf IDs (as documented) ( #43846 )
2018-08-09 02:27:03 +02:00
akira6592
8662e87b1a
Corrects module name in net_get module doc ( #43816 )
2018-08-08 16:14:33 -07:00
curry9999
2d79589515
To improve readability, we added a line feed. ( #43801 )
...
* modified: google/gcp_compute_backend_bucket.py
modified: google/gcp_compute_backend_service.py
modified: google/gcp_compute_forwarding_rule.py
modified: google/gcp_compute_global_forwarding_rule.py
modified: google/gcp_compute_image.py
modified: google/gcp_compute_instance.py
modified: google/gcp_compute_instance_group.py
modified: google/gcp_compute_instance_group_manager.py
modified: google/gcp_compute_instance_template.py
modified: google/gcp_compute_route.py
modified: google/gcp_compute_subnetwork.py
modified: google/gcp_compute_target_http_proxy.py
modified: google/gcp_compute_target_https_proxy.py
modified: google/gcp_compute_target_ssl_proxy.py
modified: google/gcp_compute_target_tcp_proxy.py
modified: google/gcp_compute_url_map.py
modified: google/gcp_container_node_pool.py
modified: google/gcp_dns_resource_record_set.py
modified: google/gcp_pubsub_subscription.py
modified: google/gcp_storage_bucket_access_control.py
* modified: lib/ansible/modules/cloud/amazon/aws_ses_identity.py
modified: lib/ansible/modules/cloud/amazon/route53_facts.py
modified: lib/ansible/modules/cloud/cloudscale/cloudscale_server.py
modified: lib/ansible/modules/network/aos/_aos_logical_device.py
modified: lib/ansible/modules/network/aos/_aos_rack_type.py
modified: lib/ansible/modules/network/aos/_aos_template.py
modified: lib/ansible/modules/network/cumulus/nclu.py
modified: lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_launch.py
modified: lib/ansible/modules/web_infrastructure/ansible_tower/tower_job_wait.py
2018-08-08 16:10:26 -07:00
Dag Wieers
014fca8ca5
Fix all ACI examples to use delegate_to ( #43439 )
...
This is to avoid users connecting to the APIC using SSH, which is likely
to fail. In the ACI documentation (linked from every module) we go into
more details on how people are supposed to work with the modules..
2018-08-08 23:24:50 +02:00
Nathaniel Case
35f625ee3b
Network *_config action plugin updates ( #43838 )
...
* Compatibility fixes for ${network_os}_config action plugins
2018-08-08 15:15:08 -04:00
Anil Kumar Muraleedharan
ceb49bdf12
Lenovo size reduce cnos.py of util ( #43823 )
...
* Changing Lenovo Inc to Lenovo and update License file to be consistent.
* Moving code in util file to module file. This is done as per a review comment
* Update cnos_vlag.py
* Update cnos_vlan.py
* Update enos_config.py
2018-08-08 14:24:39 -04:00
Feilong Wang
23adc436fd
Add OpenStack Magnum cluster template module ( #42654 )
2018-08-08 13:55:51 -04:00
Matt Clay
1f40718a26
Fix PEP 8 issue in exos_facts.
2018-08-08 08:49:31 -07:00
Lingxian Kong
84a1decaf0
Add os_listener module for OpenStack Octavia ( #42604 )
2018-08-08 11:22:06 -04:00
Lingxian Kong
018a8eb8ee
Add os_loadbalancer module for OpenStack Octavia service ( #42552 )
2018-08-08 11:21:44 -04:00
Lance Richardson
bd4d68c785
network/exos: add exos_facts module ( #43210 )
...
Add exos_facts module. Known limitations at this time include:
- Interface MTU is not reported.
- Only primary interface IP is reported.
Add basic unit tests for the exos_facts module.
An EXOS CLI prompt can be prefixed with '! ' (shutting down), '* '
(running configuration does not match saved configuration), and
can include various status tokens within parentheses after these
prefixes. Update prompt regex to accept valid CLI prompts.
2018-08-08 16:02:18 +02:00
sward1557
e24c036057
Added junos_config note about override set format ( #43608 )
2018-08-08 15:58:28 +02:00
Lindsay Hill
8429f777da
New networking module: voss_command ( #43741 )
...
* new voss_command module
* Removed incorrect version_added line
2018-08-08 15:56:50 +02:00
Andreas Calminder
3419c75411
make lockfile destination settable and update doc ( #42795 )
...
* make sure lock file is available for others when unlocking
* add tmpdir option and updated documentation
2018-08-08 06:52:11 -07:00
Abhijeet Kasurde
1366a694f9
VMware: Update example ( #43786 )
...
* Unified examples in all modules
* validate_certs is now 'no' instead of 'False'
* delegate_to changes
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-08-08 17:14:27 +05:30
Ganesh Nalawade
4618583f2f
Update eos clcionf plugin ( #43809 )
...
* If the remote host supports session
capability set the `supports_generate_diff`
flag to false which identifies if config diff should
be generated within module or not
2018-08-08 15:11:25 +05:30
Yuwei Zhou
6dce96e1d0
refine aks document ( #43810 )
2018-08-08 15:51:23 +08:00
Trishna Guha
5f8654e5bd
revert #43546 nxos terminal plugin ( #43806 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-08-08 10:47:56 +05:30
Yuwei Zhou
88a738b0ba
Fix nsg cannot add rule with purge_rules false ( #43699 )
2018-08-08 11:41:46 +08:00
Yunge Zhu
5088f7c926
add azure_rm_appserviceplan module ( #40906 )
...
* add azure_rm_appserviceplan module
* fix lint in test
* fix lint
* fix test
* fix test syntax
* resolve comments
* fix test
2018-08-07 15:54:31 -07:00
Yunge Zhu
97942cf049
add azure_rm_webapp ( #40005 )
...
* add azure_rm_webapp
* fix lint error
* resolve comments
* fix lint
* fix lint
* fix lint
* fix lint
* fix test failure
* fix test
* fix test
* fix test
* refine ux
* resolve comments
* fix lint and test
* fix lint
* code cleanup
* combine windows_frameworks/linux_framework to one
* fix lint in doc
* fix l int
* fix lint
* fix bug
* fix bug
* fix bug
* fix bug
* fix syntax error
* fix lint error
* fix bug of wrong indent
* fix test issue
* update java framework parameter
* fix lint error
* resolve comments
* fix lint
* resolve comments
* fix bug
* update test
* fix lint
* fix test
2018-08-07 15:53:15 -07:00
Dag Wieers
d8ba8c03f3
ACI: Make querying links and nodes possible ( #43441 )
...
This functionality was not considered when the module was written, but
there's no reason why it shouldn't be supported.
We had to rework the query string construction and object filtering.
This new functionality allows to filter on arbitrary keys and supports
None values.
This PR fixes various issues with the existing framework, including
querying specific objects using construct_url_4 (i.e.
aci_epg_to_contract and aci_static_binding_to_epg)
2018-08-07 23:54:54 +02:00
curry9999
529cd19ca5
I changed the document of win_hostname.py. ( #43761 )
...
* Host name is contrary to naming convention
<!--- Your description here -->
+label: docsite_pr
* removed yaml separators
2018-08-08 06:30:46 +10:00
curry9999
9c4be54625
To improve readability, we added a line feed. ( #43764 )
...
* A line break was added.
<!--- Your description here -->
+label: docsite_pr
* "blank line contains whitespace" was fixed.
2018-08-07 16:07:35 -04:00
Willian Ricardo
29f2bf651e
[aws] Allow CloudWatch Log Group retention to be changed when log group exists ( #43752 )
...
* fix bugs #42028 and #43735
2018-08-07 16:06:06 -04:00
curry9999
d7009abee4
[docs] required arguments: name ( #43758 )
...
<!--- Your description here -->
+label: docsite_pr
2018-08-07 15:49:52 -04:00
Jerry Elmore
f5cd6d2821
Corrected spelling of 'formatted' ( #43785 )
2018-08-07 15:49:04 -04:00