Abhijeet Kasurde
91a72ce7da
Remove redundant return statement from a10_ser* ( #24930 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 years ago
Brian Coca
77be724913
fixed extension matching
...
and name is valid for all
8 years ago
Brian Coca
6fa5dbdb5c
fixed pep8 issues
8 years ago
bengerman13
25aac6151f
add integration tests for xattr module ( #24947 )
...
* add integration tests for xattr module
* fix whitespace
8 years ago
Brendan Almonte
8d8cfb5fcd
Read directory_mode as 'raw' type
...
Reads the directory_mode param as 'raw' type to mirror the same behavior as mode.
This'll cause non-quoted values to be represented as an int, rather than a str.
Covered by 'assert recursive copied directories mode' test.
Fixes #24202
8 years ago
cheko
0dc5e8bf71
Bugfix: Directories in /etc/skel will get users ownership when home dir is created ( #24943 )
...
* Bugfix: Directories in /etc/skel will get users ownership when home dir is created
* Bugfix: Chmod works now recursive for the home dir
8 years ago
jhawkesworth
b46c098581
Added win_copy recursive integration test with trailing path separator. ( #24523 )
...
This is a reproducer for https://github.com/ansible/ansible/issues/23559
Tests will fail until https://github.com/ansible/ansible/pull/23581 is merged
Note that I believe another commit is also needed for this to work,
specifically the change from: https://github.com/ansible/ansible/pull/23326
8 years ago
kgottholm
5240e5a230
Vertica schema fix ( #24915 )
...
* replace deprecated cmp() with custom conditional
cmp is not present in Python3 but several modules use it
Reference 24756
8 years ago
Dag Wieers
9cd6f1bf91
win_copy: Fix recursive copy ( #23581 )
...
This fixes #23559 .
This should be backported to v2.3 branch too.
8 years ago
Nathaniel Case
dd4a79d7d3
Clean up nxos_bgp_neighbor_af ( #24890 )
...
* Fix pep8 in bgp_neighbor_af
* Remove WARNINGS
* Rewrite command detection
* Add bgp_neighbor_af test
* Finally kill invoke
8 years ago
kgottholm
1e4b227e6f
Os port fix ( #24913 )
...
* replace deprecated cmp() with custom conditional
cmp is not present in Python3 but several modules use it
Reference 24756
8 years ago
Brian Coca
841baa3d5b
updated chnalog
8 years ago
Brian Coca
e0e94a4d02
reinstated to legacy
...
(cherry picked from commit a6484da0f11d03056b446526ef1cf78f968ae3ee)
(cherry picked from commit f23e766efa859b25557537d5098de557e85120cf)
8 years ago
Kevin Clark
04073dfa9b
adds privilege escalation method for pmrun(Unix Privilege Manager 6.0)
8 years ago
Abhijeet Kasurde
f9b836a901
Include error exception in AnsibleError
...
- Use to_native instead of str
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 years ago
Dag Wieers
cce133b14f
WinRM: Add operation and read timeout variables to docs ( #24922 )
...
* Add operation and read timeout variables to docs
Since WinRM is not the most reliable protocol, it may be necessary to increase its timeout values to get a better experience.
* Update intro_windows.rst
Great idea to add this.
I changed 'experienced' -> 'experience' (present continuous rather than past tense). Added some . to be consistent with other lines.
8 years ago
Trishna Guha
4066b03a4c
nxos_evpn_global refactor ( #24919 )
...
* nxos_evpn_global refactor
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* ansibot told me to do this
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
Matt Martz
4ac135c1b5
Fix logic surrounding copy and remote_src, remote_src is preferred, make copy action plugin only. Fixes #23591 ( #24732 )
8 years ago
Andrew Shewmaker
f5fd32eae6
docker_container: do not split command on commas ( #24900 )
...
* docker_container: do not split command on commas
Fix issue #24430
* docker_container: document command parameter
Prior behavior was strange, splitting strings on commas
only to join them again ... replacing commas with spaces.
FYI, docker-py accepts strings or lists, using shlex.split
on strings ... splitting on spaces while respecting things
like quotes.
https://github.com/docker/docker-py/blob/master/docker/api/container.py
https://github.com/docker/docker-py/blob/master/docker/types/containers.py
https://github.com/docker/docker-py/blob/master/docker/utils/utils.py
More info regarding Dockerfile syntax for CMD strings and lists
can be found at https://docs.docker.com/engine/reference/builder/#cmd
8 years ago
pdasilva
f8e47e2204
Changed assemble_from_fragments to use os.path.join ( #24909 )
...
Fixes #19437
8 years ago
Anton Kasimov
2e392f47c8
Bugfix for setting user groups on OpenBSD
8 years ago
Brian Coca
e506b5da14
only set executable from shell if not set already
8 years ago
Brian Coca
55135c0825
enable run_command to use non /bin/sh shells
...
fixes #24169
8 years ago
kgottholm
16d522cf2c
Letsencrypt fix ( #24906 )
...
* Replaced deprecated cmp with custom condition
References #24756
* Fix PEP 08 indention
8 years ago
pdasilva
3b45a9eb58
Test for _get_url_data in jenkins_plugin.py ( #24905 )
...
* Test for _get_url_data in jenkins_plugin.py
* PEP8 fix
8 years ago
Rob
43fc97cad3
[cloud] Fix iam_role to compare trust policies accurately ( #22936 )
...
* Fix iam_role to compare trust policies accurately
* Better exception handling and better handling of detaching all managed policies
8 years ago
Tim Rupp
4fc40304d5
Adds the bigip_command module to Ansible ( #24850 )
...
This patch adds the bigip_command module to Ansible to support arbitrary
tmsh command to a F5 BIG-IP.
8 years ago
pdasilva
45e4b8f97a
Converted the response from _get_url_data using to_native ( #24901 )
...
Updated the exception message to no longer use e.message.
Fixes #24526
8 years ago
Martyn Ranyard
014f33655c
Allows for testing binary modules ( #24857 )
8 years ago
Ricardo Carrillo Cruz
b12beca3ed
Refactos nxos_ip_interface module ( #24885 )
8 years ago
Abhijeet Kasurde
7fba31677e
Remove redeclared module variable
...
Fix removes redeclared module variable defined
previously without any usage.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 years ago
Trishna Guha
9fb9c00092
Remove deprecation for username/password eos_user, nxos_user and Doc update ( #24880 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
8 years ago
René Moser
d96195131f
cloudstack: test: improve startup time, fix network dependency on run ( #24876 )
8 years ago
Michael De La Rue
e9e661ebbb
aws integration tests - provide an IAM policy for running ( #24725 )
...
* aws integration tests - provide an IAM policy that can be used for running them
* move documentation of aws policies into main integration testing documentation + some updates there
* Update testing_integration.rst
Edits
8 years ago
glassresistor
4a718645e8
fixed minor py3 compliance issue in ec2_vpn_nacl ( #24758 )
...
wrapped a dict.items() with list
8 years ago
Ganesh Nalawade
7563d93901
Add nxos changes for Python3 ( #24602 )
...
* Add nxos changes for Python3
Make `execute_command` arguments and its
return value complaint to PY3 changes
made in PR #24431
* Fix CI issues
* Fix review comment
Replace surrogate_or_strict with
surrogate_then_replace as per review
comment os PR #24601
8 years ago
Michael
b65ebf3519
Fixed import of urlencode and pathname2url from urllib for python3 ( #24424 )
8 years ago
Phil Huang
98a8b967d2
Fixed wrong variable in cumulus network module ( #23950 )
...
Signed-off-by: Phil Huang <phil_huang@edge-core.com>
8 years ago
Trishna Guha
1e5a0982b9
Fix nxos_hsrp and add unit test ( #24770 )
...
* nxos_hsrp fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* unit test nxos_hsrp
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* ansibot told me to do this
* revert apply_key_map and simplify method
8 years ago
Trishna Guha
4782a4e62f
Make host required field and minor refactor ( #24534 )
...
* Make host required field and minor refactor
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* ansibot pep8 legacy file
* example doc update
8 years ago
QijunPan
68f38c5e9d
Contributing lib/ansible/modules/network/cloudengine/ce_info_center_trap.py module to manage HUAWEI data center CloudEngine ( #22049 )
...
* add ce_info_center_trap
add ce_info_center_trap
* upgrade Info Center Trap
* fix CI issues
8 years ago
QijunPan
8086f12ddb
Contributing lib/ansible/modules/network/cloudengine/ce_facts.py module to manage HUAWEI data center CloudEngine ( #22044 )
...
* add ce_facts
add ce_facts
* fix CI issues
8 years ago
QijunPan
35bc99156a
Contributing lib/ansible/modules/network/cloudengine/ce_evpn_bgp_rr.py module to manage HUAWEI data center CloudEngine ( #22043 )
...
* add ce_evpn_bgp_rr
add ce_evpn_bgp_rr
* fix CI issues
8 years ago
QijunPan
4961778732
Contributing lib/ansible/modules/network/cloudengine/ce_eth_trunk.py module to manage HUAWEI data center CloudEngine ( #22037 )
...
* add ce_eth_trunk
add ce_eth_trunk
* fix CI issues
8 years ago
QijunPan
a54c3398e1
Contributing lib/ansible/modules/network/cloudengine/ce_dldp.py module to manage HUAWEI data center CloudEngine ( #22035 )
...
* add ce_dldp module
add ce_dldp module
* fix CI issues
8 years ago
QijunPan
9f297ff0c6
Contributing lib/ansible/modules/network/cloudengine/ce_acl_interface.py module to manage HUAWEI data center CloudEngine ( #21878 )
...
* add ce_acl_interface module
add ce_acl_interface module
* update ce_acl_interface.py
* fix CI issues
8 years ago
QijunPan
b5805d5aa3
Contributing lib/ansible/modules/network/cloudengine/ce_aaa_server.py module to manage HUAWEI data center CloudEngine ( #21757 )
...
* commit ce_aaa_server module
commit ce_aaa_server module
* update ce_aaa_server.py
update ce_aaa_server.py
* update ce_aaa_server module
* upgrade ce aaa server
upgrade ce aaa server
* fix CI issues
8 years ago
QijunPan
365f816e46
Contributing lib/ansible/modules/network/cloudengine/ce_evpn_bgp.py module to manage HUAWEI data center CloudEngine ( #21759 )
...
* commit ce_evpn_bgp.py
commit ce_evpn_bgp.py
* update ce_evpn_bgp
update ce_evpn_bgp
* fix CI issues
8 years ago
QijunPan
ea0060ba64
Contributing lib/ansible/modules/network/cloudengine/ce_netstream_global.py module to manage HUAWEI data center CloudEngine ( #21817 )
...
* add ce_netstream_global module
add ce_netstream_global module
* update ce_netstream_global
update ce_netstream_global
* fix CI issues
* fix pep8 error
8 years ago
QijunPan
4ef5177e62
Contributing lib/ansible/modules/network/cloudengine/ce_netstream_export.py module to manage HUAWEI data center CloudEngine ( #21816 )
...
* add ce_netstrem_export module
add ce_netstrem_export module
* update ce_netstream_export
update ce_netstream_export
* fix CI issues
8 years ago