| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
* Use context managers for interacting with files
* Account for empty string as regexp
Rather than explicitly testing for None, also test for an empty string which will evaluate to False. An empty string regexp matches every line, which ends up replacing the incorrect line.
* Store line parameter in a variable
* Add tests
|
|
|
|
|
| |
If a line match is found in the file and no regexp is specified, insertbefore would improperly try to add a line if set to BOF.
Add tests for this scenario.
|
|
|
|
|
|
| |
* Stop displaying kinit pass input on a failure
* Fixed up minor logic info and added tests
|
| |
|
|
|
|
|
|
|
| |
cloudformation module (#41840)
* Add a module parameter to configure the max fetched AWS CFN stack events
* Add version documentation for new configuration option
* Increase default in order to make sure that enough are fetched by default. This align roughly with the limit of manageable resources in CloudFormation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* vyos and ios cliconf plugin refactor
* Refactor vyos cliconf plugin
* Change vyos module_utils and vyos_config as per refactor
* Minor changes in ios cliconf plugin
* Fix unit test failure
* Fix sanity issues
* Add get_diff to rpc list
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Solve some bytes issues on iosxr
* Solve some bytes issues in junos
* Do the correct thing with tostring based on lxml or not
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix: exclude using wildcards for tar archives
Fixes #37842, #22947
* fix: Remove quote() as it munges the exclude format
* test: Refactor to use single archive structure
A common structure archived by different methods should simplify some of
the feature tests.
* test: Use common archive layout to validate exclude feature
* test: Use the same exclude checks for zip/tar archives
|
|
|
|
|
| |
Add new filter to generate random MAC addresses from
string prefix. See docs/docsite/rst/user_guide/playbooks_filters.rst
for more detailed infos.
|
| |
|
|
|
|
|
|
|
| |
* fix minor issues with debug and item labels
- no more `item=None`, we always have a label now
- debug should only show expected information, either msg= or the var in var=
- also fixed method name, deprecated misleading _get_item
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added error codes for shell_out checks
* Added ignore lines for allowed Modules
* Added shell out checks
* Fixed pep8
* Updated regex to only match subprocess.Popen
* Added failing modules to ignore.txt
* Wrong postgresql module in ignore.txt
* Removed bigip from ignore.txt
|
| |
|
| |
|
| |
|
|
|
|
|
| |
validate-modules should fail when argument is not dict/hash.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
|
|
|
|
| |
* add default mode to copy binary files
* sanity fix
* add version for new options
|
|
|
|
|
|
|
|
|
| |
* Initial commit for meraki_switchport module
- Query or modify swichport configurations
- Further optimizations are available
- Integration tests will require manual editing of file for others
* Remove blank lines
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Implement configuration template management
- Queries or removes templates
- Can bind or unbind templates to networks
- Module is idempotent only for binding and unbinding
- Meraki does not allow template creation via API
- Integration test is tedious b/c previous bullet point
- Fixed bug in construct_path() so it won't set self.function
* PEP8 changes
* Re-enable some integration tests, use variables, and fix broken code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initial commit of meraki_vlan module
- Create, delete, modify, and query VLANs within a network
- Support for all allowed objects in the VLAN data structure
- Meraki defaults networks to have VLANs disabled and there is no
way to use the API to enable VLAN support. It must be enabled
manually.
* Fix formatting error in documentation
* Formatting changes and added documentation
* PEP8 fix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initial commit for meraki_device module
- Allow claiming, removal, updating, and querying of devices
- Integration tests are included
- Integration tests are not complete because physical gear is required
- Integration tests also require Meraki subscriptions
* Added support for serial number query without network
* Added support for net_id and net_name
* Changes recommended by ansible-test for PEP8 and documentation
* Remove duplicate state in example
* Fix typo
|
|
|
|
| |
- Faster performance since it reduces number of API calls
- Also simplified some of the execution
|
| |
|
|
|
|
|
| |
- Faster execution if passed instead of org_name
- Updated documentation
- Added additional integration tests
|
|
|
|
| |
Disabled due to lack of newer TLS version support on the test system.
|
|
|
|
|
|
|
|
|
|
|
| |
rather than fixed string (#41689)
Fix parameter name
Use suboptions
document suboptions
Add a test to assert assign_public_ip is configurable
|
|
|
|
|
|
| |
* Fix vyos_vlan aggregate issue & Added tests
* Fix #2 for vyos_vlan aggregate issue
|
|
|
|
|
|
| |
* fix assign_public ip for ecs_service
* used module.botocore_at_least instead of distutils
|
|
|
|
|
|
| |
Fixes: #41640
The defaults should be inherited from the parent during initial
creation. This patch fixes that.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When parsing the distribution files such as /etc/os-release, we extract
the full distribution version but not the major version. As such, the
ansible_distribution_major_version ends up being 'NA' whereas the
ansible_distribution_version contains the full version.
Before this patch we get this on openSUSE Leap 15
ansible -o localhost -m setup -a filter=ansible_distribution_major_version
localhost | SUCCESS => {"ansible_facts": {"ansible_distribution_major_version": "NA"}, "changed": false}
After this patch we get this
ansible -o localhost -m setup -a filter=ansible_distribution_major_version
localhost | SUCCESS => {"ansible_facts": {"ansible_distribution_major_version": "15"}, "changed": false}
This also fixes the Tumbleweed distribution test to report a proper
major version and also adds a test for openSUSE Leap 15.0 to avoid
potential future regressions.
Fixes: #41410
|
|
|
|
| |
This functionality is superceeded by the run_command method in the
ansible module class.
|
| |
|
|
|
|
|
|
|
|
| |
protocol (#38412)
* Don't deduplicate docker container ports with different protocols
* Test _parse_exposed_ports
|
|
|
|
| |
* accept + and - modifiers for file attributes
* tests for adding/removing file attributes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#41400)
* don't retrieve config in running_config when config is provided for diff
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix for eos, nxos
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* add integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
|
|
|
|
|
|
| |
* fix reload smu issue
* review comments
|
|
|
|
|
|
| |
* expand user before calling abspath
* omit expanduser code smell check for volumes
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- now also checks task property
- added reproducer to tests for unreachable status on item loop
|
|
|
|
|
|
|
|
| |
* When using ANSIBLE_JINJA2_NATIVE bypass our None filtering in _finalize. Fixes #41392
* Add tests for _finalize bypass
* Address python3 failures in tests
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pip tests: remove trailing spaces
* pip tests: use Jinja tests
* fixup! pip tests: remove trailing spaces
* pip tests: use 'command' instead of 'shell' module
* pip tests: remove unused variable
* pip tests: use a package with fewer dependencies
sampleproject has one dependency: 'peppercorn' and peppercorn doesn't
have any dependency.
* pip tests: check that 'name' param handles list
* pip: squash package parameters
Note that squashing will be removed in 2.11, new code should directly
use a list with the 'name' parameter.
|
|
|
| |
This reverts commit 391509006ce73c707753fac29b6b494b6f6cba72.
|
|
|
| |
This reverts commit 007127ea27b7dcadba8f297ccb953d42e3d3d22d.
|
| |
|