| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
the selinux fact is boolean false when the library is not installed,
a dictionary/hash otherwise, but this is ambigous
added new fact so we can eventually remove the type dichtomy and normalize it as a dict
|
|
|
| |
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
|
| |
- Docker 1.12 on CemtoOS7 does not output status line anymore.
- Do not rely on Docker output to verify if the image was the latest.
|
|
|
|
|
|
|
|
|
| |
* ensure locale for solaris fact gathering
fixes issue with locale interfering with proper reading of decimals
fixes #24542
* fixed typoe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* eos python3 changes
* changes to convert response from byte to text
* Add dellos6 python3 changes
Make `execute_command` arguments and its
return value complaint to PY3 changes
made in PR #24431
* Fix py3 prompt issue for invalid show command
* Fix review comments
* Add generic fix for error prompt in py3
* Fix CI issue
* Fix network_cli unit test failure
|
|
|
| |
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
| |
- Make PEP8 compliant
|
| |
|
|
|
|
| |
fixes #24169
|
|
|
|
|
| |
(#24880)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
* [GCP] remove ansible.utils.display for deprecations, use module.deprecate instead.
* removed test file from legacy files
|
|
|
| |
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
|
|
|
|
|
|
|
|
| |
Fix converts commit_timeout to string as
Elementree.SubElement requires text as string.
Fixes #24611
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
center CloudEngine switch (#21666)
* add module_utils ce.py
add module_utils ce.py
* update module_utils/ce.py to support netconf
update module_utils/ce.py to support netconf
* update module_utils ce.py
update module_utils ce.py
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add ios changes for Python3
Make `execute_command` arguments and its
return value complaint to PY3 changes
made in PR #24431
pep8 fixes
* Fix CI issues
* Fix review comment
|
|
|
|
|
|
|
|
|
|
| |
* Add dellos9 changes for Python3
Make `execute_command` arguments and its
return value complaint to PY3 changes
made in PR #24431
* Minor changes
|
|
|
|
|
| |
Make `execute_command` arguments and its
return value complaint to PY3 changes
made in PR #24431
|
|
|
|
|
| |
Make `execute_command` arguments and its
return value complaint to PY3 changes
made in PR #24431
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add sros changes for Python3
Make `execute_command` arguments and its
return value complaint to PY3 changes
made in PR #24431
Code cleanup
pep8 fixes
* Fix CI issue
|
|
|
|
|
|
|
|
|
|
|
| |
* Add vyos changes for Python3
Make `execute_command` arguments and its
return value complaint to PY3 changes
made in PR #24431
pep8 fixes
* Fix CI issues
|
|
|
|
|
|
|
|
|
|
| |
* Add iosxr changes for Python3
Make `execute_command` arguments and its
return value complaint to PY3 changes
made in PR #24431
* Fix CI issue
|
|
|
|
|
|
|
|
| |
address (#24138)
* vmware_guest: Fix VM creation when adding a network device without a MAC address
* Provide python2.4 compatibility
|
|
|
|
|
|
| |
Nothing really fancy.
- Removing boolean choices
- Use path-type for credentials
|
|
|
| |
- Make PEP8 compliant
|
|
|
|
|
|
|
|
|
|
| |
* Fix for UnboundLocalError while accessing deprecations
in result
* Add Unit test
Fixes #24592
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Python3 and Python2 use pickle slightly differently so we need to be
explicit about some things.
If pickles could be shared between python2 and python3, as in
ansible-connection and the pickle cache, we need to specify the protocol
to use when dumping and the encoding to use for byte strings when
loading.
The dumping protocol needs to be no higher than 2 as python-2 only
supports up to protocol 2. The encoding should usually be 'bytes' so
that python2 str type becomes python3 bytes type. However, doing this
means that we must make sure that the objects being serialized properly
make their strings into text strings except when they're supposed to be
bytes. If strings are improperly byte strings, they may cause
tracebacks on the receiving end
|
|
|
|
|
|
| |
Fixes #21893
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [GCP] UrlMap module
This module provides support for UrlMaps on Google Cloud Platform. UrlMaps allow users to segment requests by hostname and path and direct those requests to Backend Services.
UrlMaps are a powerful and necessary part of HTTP(S) Global Load Balancing on Google Cloud Platform.
UrlMap takes advantage of the python-api so the appropriate infrastructure has been added to module_utils.
More about UrlMaps can be found at:
https://cloud.google.com/compute/docs/load-balancing/http/url-map
UrlMap API:
https://cloud.google.com/compute/docs/reference/latest/
Google Cloud Platform HTTP(S) Cross-Region Load Balancer:
https://cloud.google.com/compute/docs/load-balancing/http/
* updated documentation, remmoved parens
* fixed tabs
|
|
|
|
|
|
|
|
| |
* Add new helper function for comparing AWS tag key pair dicts. Also modify boto3_tag_list_to_ansible_dict function to be more generic when looking for key names because AWS sometimes uses 'Key', sometimes 'TagKey' and who knows what the future holds! Fixed modules to work with changes.
* Review changes
* Add some more doc to GUIDELINES for tags and fix var name for snaked values in ec2_group_facts
|
|
|
|
|
|
|
| |
Simplified the logic, and fix the issue of having a nested list as
entry.
Also indicate that we deliberately want to retain $null values
(and i.e. do not want them to be turned into a boolean).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* WIP file_mode
* WIP
* Add file_mode + integration tests
* fix pep8
* Update doc fragments
Create mutualy_exclusive param
Fix yamllint problem in tests
* Add aliases file + main playbook for fortios
* Install pyfg before running tests
* Install pyfg before running tests in role
* Remove pre_task as it's done in roles
* Force pyFG minimal version for python3
* role_path not role_dir :(
* Change requirements
* Specify Error type when error on import
* Bug in pygf library with python 2.5 (PR is waiting https://github.com/spotify/pyfg/pull/19)
* Bad requirement format
* still bad format -_-'
* remove test/integration/fortios.py (auto generated by tests)
missing new lines at end of file
* pyFG is now fixed in 0.50
|
| |
|
|
|
|
|
| |
This is a first implementation of list parameters.
It will convert a single string, or comma-separated value into an Array.
|
|
|
|
|
|
|
|
| |
* Remove invoke from nxos_bgp
* Try to simplify get_existing
* Streamline state_present
* More testing, squash & compact get_value & get_custom_value
* Streamline main
* nxapi has problems reading CustomNetworkConfig directly
|
|
|
|
|
|
|
|
| |
ssh-keyscan isn't very verbose about errors. Give the user whatever
information we have available even if it isn't much. At least they will
know how we were running ssh-keyscan and why there's an error now.
Fixes #19440
|
| |
|
|
|
|
|
|
| |
When unittesting, the framework creates a pipes module that is picked up
by the basic module_utils test. Switch to using shlex_quote as that is
the right thing to use for portability anyway.
|
|
|
|
|
| |
These were discovered on python3 with fetch code that fails on errors. Probably could be
provoked with particular sets of arguments to stat as well.
|
|
|
|
|
|
|
|
|
|
| |
* Added new common argument api_version for all Avi modules
* Updated dependency for the new modules to use avi sdk 17.1 and above
* Updated Avi 17.1.1 modules with descriptions and moddule dependencies
* Updated version_added for new options
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The timeout for gathering facts needs to be settable from three places
(highest precedence to lowest):
* programmatically
* ansible.cfg (equivalent to the user specifying it explicitly when
calling setup)
* from the default value
The code was changed in b4bd6c80deccc64655e158cf4799edcf604c76d1 to
allow programmatically and the default value to work correctly but
setting via ansible.cfg/parameter was broken.
This change should fix setting via ansible.cfg and adds unittests for
all three cases
Fixes #23753
|
|
|
| |
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
ClearLinux has changed its pretty name in os-release file
from: 'Clear Linux Software for Intel Architecture'
to: 'Clear Linux OS for Intel Architecture'
This patch makes the SEARCH_STRING 'Clear Linux' rather than
the full name to make it compatible with the old and new name.
Signed-off-by: Alberto Murillo Silva <alberto.murillo.silva@intel.com>
|
|
|
|
|
|
|
|
| |
* Try to handle unicode output more sensibly
* Appears I'm getting latin1 instead
Ugh.
|
| |
|
| |
|
|
|
|
| |
If config is in xml format append it to <configuration>
tag as a instance of Element class.
|
|
|
| |
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
|