Commit Graph

28998 Commits (dc7a765e57c69783ea070c37a557bf9a7abd2bd0)

Author SHA1 Message Date
kucharskim 1dea661ce8 Allow 13 asterisk characters in password field without warning (#54893)
On OpenBSD, 13 asterisk characters as a password hash, marks the
account as disabled. Otherwise daily(8) script which executes
security(8) will email operator about not properly locked accounts.

Before the diff, we see following warning:

> [WARNING]: The input password appears not to have been hashed. The 'password' argument must be encrypted for this module to work properly.

After the diff, warning is gone.
5 years ago
Strahinja Kustudic ee4b3b8854 Fix systemd start state with deactivating service state 5 years ago
Nilashish Chakraborty a795f6941e Make *_bgp modules collection safe (#61761)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
5 years ago
Sloane Hertel 91ccb03552 aws_s3 - wait for the bucket before setting ACLs (#61735)
* Wait for the bucket to become available if possible before setting ACLs
5 years ago
Florian Paul Hoberg 531e0560cb add trustcacerts option for JAVA keytool (#61750)
* add trustcacerts option for JAVA keytool

* fixed whitespace

* added type in documentation
5 years ago
Trishna Guha c1e02d5c7a
Remove choices from gather_network_resources facts and fix negated all, min (#61362)
* remove choices from gather_network_resources facts and allow negating subset without needing to add a new subset specific for negation

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* negated all, min should not return any fact

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
5 years ago
Sumit Jaiswal 2672dc9694
Fixes IOS L3 intermittent zuul failure (#61682)
* fix ios l3 intermittent failure

* fix self

* dict to ordered dict

* fix diff_again fn

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* remove orderdict as its expensive

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* update verify fn

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
5 years ago
Mark Chesney 01f4081b66 Fix creation of DigitalOcean droplets using digital_ocean_droplet module (#61655)
* Omit disallowed 'id' attribute in request body to create a droplet

* Add changelog fragment for PR #61655
5 years ago
Tim Rupp 2ebeadfc14 Migrate ec2_eip module to boto3 (#61575)
* Migrate ec2_eip module to boto3

This patch is a step towards the integration of several PRs that have
attempted to migrate this code

closes #55190
closes #45478

Follow-up PRs will address the outstanding changes made in #55190
5 years ago
Jiri Tyr 47ce938121 Read update file as utf-8 (#55253) 5 years ago
Bill Dodd 091ab12692 Fix issues and limitations in account mgmt commands (#58441)
* fix issues and limitations in account mgmt commands

* fix pep8 and example yaml errors

* remove new option and update option aliases

* find next empty slot when adding user via PATCH
5 years ago
Bill Dodd 088d821f75 Fix KeyError exceptions in GetLogs command (#59877)
* fix KeyError exceptions in GetLogs command

* add changelog fragment

* refine the list of LogEntry properties to collect
5 years ago
John McDonough 86b38a0ead Add ucs_query (#60607)
* Add ucs_query

* fix sanity erros

* Change version_added to 2.10
5 years ago
Orion Poplawski a09b89f567 osx_defaults - doc tweaks (#60881)
* [osx_default] We are looking for the "defaults" executable, not "osx_defaults"

* [osx_default] Add example for setting system wide default
5 years ago
Miguel Angel Muñoz González 6cf025425e Fix Decode Bug in Py3 (#61691)
* Fix Decode Bug in Py3

* Update fortios.py

* Remove special char from name

* Ensure full compatibility when ansible is install from Py2
5 years ago
Gabriel Suarez 411b208147 Add example of "parent_group" usage in aws_ec2.py (#60430)
##### SUMMARY
Looks like the "parent_group" option in "keyed_groups" is a very recent feature that is not being documented. 
This pull request just adds a simple example of the usage of this useful feature.



##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
5 years ago
Evgeniy Krysanov 9797857a67 Fix Python 2.7 compat (#58816) 5 years ago
nikkytub 5f9fe6b9c8 Removed additional fetch from config context because it is now available in the host from Netbox v2.6 onwards (#59028)
* Removed additional fetch and config context as an option as it is now available in the host from Netbox v2.6

* Added config-context as an option
5 years ago
Martin Nečas b46e661d39 ovirt search name with space (#59184)
* init ovirt_search_name_with_space

* add search_by_name with whitespace

* add comments
5 years ago
Kurt Davis d4147b55dd Issue #41447 - support AWS Aurora S3 privileges in mysql_user module (#59663) 5 years ago
Andrey Klychkov fad405ac42 postgresql: Move PgMembership to module_utils (#61598)
* postgresql: move PgMembership to module_utils

* postgresql: move PgMembership to module_utils, optimize logic
5 years ago
Yuji Konishi 7c92c4214c Fixes #59613 (#60041) 5 years ago
ETNyx 5d7d4a93c8 docs: Update apt_key.py add requirements of gpg (#61552)
* docs: Update apt_key.py add requirements of gpg. The module needs to have gpg installed, otherwise it will end up with error {"changed": false, "msg": "Failed to find required executable gpg in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

Co-Authored-By: John R Barker <john@johnrbarker.com>
5 years ago
John R Barker 763fa4e85f
version_added: '2.10' for post branch commits (#61678)
Due to bot automerge a few PRs were merged before version_added had been updated.

https://github.com/ansible/ansible/pull/61674
5 years ago
Cristian Dascalu 47b9c5bf04 Ecs taskdefinition secrets (#60112)
* adding specific examples for using environment and secrets in the container definition
5 years ago
Theo Ouzhinski 9c1dc0ea7f grafana_plugin: update documentation (#60600) 5 years ago
Andrej Svenke bdc87a5651 datadog_monitor: Add process alert support (#60325) 5 years ago
Rob White a10606484c Fix required_together statement - access_logs_s3_prefix is not required as per the documentation (#52017) 5 years ago
Yves Martin c4fd2096bf Fix examples for bigip_file_copy (#61686) 5 years ago
Abhijit Menon-Sen ca3078de5f
Remove duplicated word
We print "%s success", so there's too much success going on.
5 years ago
Yannis Ansermoz bcbcac3bd8 net_user documentation typo configured_password (#61556)
password -> configured_password in the last example
5 years ago
Wojciech Sciesinski 4b9b5d3745 Remove unnecessary information (#61657) 5 years ago
Tahir Akhtar 58acc8d082 Clarity on mutual exclusion of Username and Token (#61668)
##### SUMMARY
Although there is an example showing that username is not required with personal access token, it will be nice to more clearly state in options description. 
##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
5 years ago
Simon Legner 7dbd6116d8 Fix typesetting of "GitLab" (#61702) 5 years ago
Tomáš Karásek 74e6c460b4 Fix missing pass of IPXe params to API client call, fixes #32910 (#32912) 5 years ago
Roland Wolters 9744ce1e1d Rename checkpoint to check_point due to legal reasons, fix #61145 (#61172)
* Fix #61145

* Fix type keyword

* Removed file fragment
5 years ago
Bradley A. Thornton 39f35ac5bb Fix network resource module wording and typographical errors (#61613) 5 years ago
Nathaniel Case d20d10b5c5
Avoid infinite recursion on login (#61617) 5 years ago
jotai73 447c7d9ff0 Update homebrew_cask example docs (#61637)
Changed homebrew_cask module flag from "allow_external_apps" to "accept_external_apps" in example section
5 years ago
David Gallegos 68f9cd14cb feat: support postgres 11 in azure_rm_postgresqlserver (#58727) 5 years ago
Abhijeet Kasurde e7c6134fd0
VMware: Fix get_tags_for_vm API in vmware_vm_info module (#61697)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
5 years ago
Alexandre Mulatinho e4d72dd981 luks_device.py: Allow manipulate LUKS containers with label or UUID (#61603)
* luks_device.py: Allow manipulate LUKS containers with label or UUID

- Allow create a LUKS2 container format with label support
- Allow manipulate (open, close, modify) an LUKS container based on
  both label (LUKS2 format) or UUID instead of using devices only.

Fixes: #58973
Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net>

* test_luks_device.py: organizing tests to support labels

- Add label on some tests and fix errors reported by Shippable

Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net>

* luks_device.py: adjusting versions and messages

- Modifying version_added from 2.9 to 2.10
- Fixing some messages
- Created a changelog fragment
- Moving blkid from scope

Fixes #58973
Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net>
5 years ago
Vitalii Kostenko 6f7cd8370a Ansible FTD Module improvements and tests update. (#60640)
* Ansible FTD Module improvements and tests update.

* Fix sanity tests

* Fix formatting
5 years ago
Christian Fetzer 7197c41fff influxdb: Add support for 'path' parameter (#61173)
While it's possible to host InfluxDB on a different path prefix
(through a reverse proxy such as nginx or traefik), the Ansible
influxdb_* modules did't support that use case.

The patch adds a 'path' parameter, which is passed to the influxdb
Python client.

Example for connecting to InfluxDB running on http://localhost/influxdb

    - hosts: all
      tasks:
        - influxdb_database:
            database_name: test
            path: influxdb
            port: 80
5 years ago
Martin Krizek 9ccef9e819 perf: reduce getting handler variables (#59969)
* perf: reduce getting handler variables

ci_complete

* Do not re-create templar
5 years ago
Maxim Babushkin f1a1b72f07 os_server - add "tag" to instance nics (#61119)
A custom "tag" could be passed to the instance metadata with the nics.
Add support for the "tag" to the module.
5 years ago
Fred-sun 6e6c2f5cea Set the default value for the managed_disk_type (#60749) 5 years ago
Mateusz Gałażyn 52a665e224 #59096 Fix for not working azure_rm_aks (#59097) 5 years ago
Mariusz Mazur cf86a5e07a kubevirt: also add wait_sleep (#61020) 5 years ago
Paul Belanger de6e2de0c4
Remove unused import for iosxr l3_interfaces (#61563)
This was caught by our ansible network collections migration script.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
5 years ago
Guillaume Leroy 21b101f8e1 add option to define keysize at luks partition creation (#61522)
* add option to define keysize at luks partition creation

* Bump version_added.

* Extend tests.
5 years ago
Andrey Klychkov a6d9401c88 postgresql modules: explicit defaults for bool params (#61538) 5 years ago
Nathaniel Case e89048f68a Check module names in action plugin without collection attached (#60947)
* Check for eos_config in action plugin by module name, not entire fqmn

* Modify toher action plugins to find module name

* Restore missing `not`

* Cover netconf plugin as well

* Whoops
5 years ago
Sumit Jaiswal 24ad1dffc9 To fix iosxr_l3_interfaces module zuul tests (#61592)
* fix 61540

* fix utils
5 years ago
René Moser 1ff20e9804 apt_repository: implement update cache retrying (#57266)
* use exponential backoff
* make cache update retries and max delay in between configurable
5 years ago
René Moser fd4ff54580 apt: honor cache_update=false on auto-install deps (#56549)
* apt: honor cache_update=false on auto-install deps
* add porting guide
5 years ago
René Moser 01ae6991bd apt: use exponential backoff for apt update cache retries (#60527)
* make retries and max delay configurable
5 years ago
Mark Chappell 35359959de aws_codecommit: Fix integration tests and Add support for updating the description (#61263)
* Update DevOps AWS policy
- Fix typos in permission names
- While AWS claims you can use 'arn:aws:codecommit:*' it errors unless you use '*'

* aws_codecommit: (integration tests) Migrate to module_defaults

* aws_codecommit: (integration tests) Fix integration tests

* aws_codecommit: (integration tests) Add tests for updating the description

* aws_codecommit: Add support for updating the description and rename "comment" option to "description"
5 years ago
Toshio Kuratomi 8f6dbb732a
[WIP] Cleanups and version bumping for 2.10 (#61572)
* Cleanups and version bumping for 2.10

* Fix changelog url now that stable has been branched

* Fix the lenth of the porting guide title now that the version is two digits
5 years ago
Jordan Borean 951dac7691
Azure fix _info/_facts return values for some modules (#61584)
* Azure fix _info/_facts return values for some modules

* Further test fixes

* securitygroup fixes after the move to _info module
5 years ago
Simon Dodsley cd24d57636 Add IOPs bandwidth support to volumes (#61577) 5 years ago
Jordan Borean a7fd6e99d9
Refactor galaxy collection API for v3 support (#61510)
* Refactor galaxy collection API for v3 support

* Added unit tests for GalaxyAPI and starting to fix other failures

* finalise tests

* more unit test fixes
5 years ago
The Magician 82c1becd24 Bug fixes for GCP modules (#61512) 5 years ago
Mike Wiebe 02572cb9ec Rewrite nxos_file_copy as an action plugin (#60643)
* Initial nxos_file_copy action plugin work
* Remove code from nxos_file_copy module
* Add file_push and file_pull support
* Additional refactoring and shipable updates
* Simplify outcomes and update doc header
* Add more error data information for easier debugging
* Reorder outcomes and add additional tests
* Capture more data for permission denied outcome
5 years ago
Simon Dodsley 3881326ae2 Fix crashing bug in purefa_info module and add some new info (#61494) 5 years ago
Ganesh Nalawade b03fc093b4
Rename junos_lldp_global enable option to enabled (#61551)
*  Change `enable` option to `enabled` option to be in
   sync with other platforms
5 years ago
Toshio Kuratomi 68fa03138c Revert "New Module: NetApp Account (#59939)"
This reverts commit 6a8dcb8fcb.

Reverting this as it breaks CI for azure (more permissions would be
needed for our account)
5 years ago
Paul Belanger f23bb6f7bd Properly load module_prefix for collections in task_executor.py (#60420)
* Properly load module_prefix for collections

Now that we are using collections for tasks, we need to properly split
the name and load the prefix properly.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>

* Add unit tests for task_executor

This commit adds missing unit tests for action handler in test_task_executor.

Signed-off-by: Daniel Mellado <dmellado@redhat.com>
5 years ago
Chris Archibald 6a8dcb8fcb New Module: NetApp Account (#59939)
* netapp account module for azure

* netapp account module for azure

* fixes

* fixes

* add requirements

* add requirements

* fix issues

* add units

* add units

* updates

* updates

* fixes

* fixes

* fies

* fixes
5 years ago
Diane Wang 54b108175b VMware: add support for multiple CD-ROMs (#51120)
Add support for create or re-configure VM with multiple CD-ROMs attaching to IDE controller now, will implement SATA controller support later.
parameters can be set as below:

    cdrom:
    - controller_type: ide
      controller_number: 0
      unit_number: 0
      type: client
5 years ago
Felix Fontein 0c592c8225
CloudStack modules: rename _facts -> _info (#61090)
* Rename cloudstack _facts -> _info

* Add changelog.

* Fix errors due to overloaded get_result having different parameter names.

* Fix examples.

* Change debug tasks.

* Remove unneeded code.

* Change from rename -> deprecate+new module.

* Make cs_zone_info return a list.

* Make cs_instance_info return a list.

* Fix return value docs.

* Fix typo.

* Improve tests.

* Fix cs_zone_info.

* Linting.

* Fix alias/option switch.

* Fix version numbers.

* Extend docs.
5 years ago
René Moser 9b5528ab8e
cloudscale_volume: refactor to implement tags support (#61531) 5 years ago
David Passante 060484970d add tag functionality to cs_network (#61530)
* add tag functionality to cs_network

* fix version_added
5 years ago
Yannis Ansermoz cee54d55d0 Add 'min' to gather_subset ios_facts documentation (#61536) 5 years ago
chkp-orso a321e58c73 fix suboptions of list to replacce _ with - (#61542)
* fix suboptions of list to replacce _ with -

* Update checkpoint.py
5 years ago
Nathaniel Case 41e4ece44b
Defer passlib dependency from plugins/filter/network.py (#59304)
* Defer passlib dependency from plugins/filter/network.py to what utils/encrypt.py provides.

* Revert test changes now that passlib is optional
5 years ago
chkp-orso fd9b643219 group_with_exclusion module (#61480) 5 years ago
Sumit Jaiswal 4d73c7b397
Resource module for iosxr_l3_interfaces (#60464)
* iosxr_l3_interfaces module
5 years ago
Zim Kalinowski 68f34351fc
Rename remaining facts -> info (#61516)
* rename remaining stuff

* links

* fixed link

* sanity fixes

* too many lines

* fixed link

* fixed link again

* delete mistake

* fixed ignore

* fixed ltl

* fixed trailing whitespace
5 years ago
chkp-amiads 36774ceb40 mds module (#61472)
* mds module

* Update lib/ansible/modules/network/checkpoint/cp_mgmt_mds_facts.py

improve description

Co-Authored-By: Sumit Jaiswal <sjaiswal@redhat.com>
5 years ago
chkp-amiads df3cf87ae3 session module (#61471) 5 years ago
chkp-amiads e5fed1895b discard module (#61452)
* discard module

* fix test failure
5 years ago
chkp-orso bcaed441e7 application_site_group (#61289)
* application_site_group

* add '-'

* update examples

* list to dict

* set example
5 years ago
Andrey Klychkov 3d622440a8 jboss: add seealso (#61532) 5 years ago
Andrey Klychkov 144108296f postgresql modules: add seealso section (#61526)
* postgresql modules: add seealso section

* postgresql modules: add seealso section
5 years ago
chkp-amiads 0922407b67 run_ips_update module (#61440) 5 years ago
Matt Davis d81ae27a4a
Collection role relative deps (#61517)
* default collection support

* playbooks run from inside a registered collection will set that collection as the first item in the search order (as will all non-collection roles)
* this allows easy migration of runme.sh style playbook/role integration tests to collections without the playbooks/roles needing to know the name of their enclosing collection

* disable default collection test under Windows

* enable collection search for role dependencies

* unqualified role deps in collection-hosted roles will first search the containing collection
* if the calling role has specified a collections search list in metadata, it will be appended to the search order for unqualified role deps

* disable cycle detection unit test

* failing on 3.7+, needs proper cycle detection
* see #61527
5 years ago
smile37773 7bb0556334 Rename Azure modules: facts -> info (#61505)
* rename

* add symlink

* rename

* rename

* rename

* rename

* rename

* rename

* rename

* rename

* rename

* rename

* rename

* rename
5 years ago
chkp-amiads 876804395c tag module (#61393)
* tag module

* list to dict

* removed set example

* fix name in example
5 years ago
chkp-amiads a9b7db9d32 dynamic_object module (#61437)
* dynamic_object module

* fix example

* remove set example
5 years ago
ndclt 649d612d64 keycloak: improve testability of authentification (#57611) 5 years ago
chkp-amiads 07c288f56f threat_layer module (#61389)
* threat_layer module

* list to dict

* fix example

* remove set example
5 years ago
chkp-amiads 2272f27841 service_group module (#61448)
* service_group module

* fix example (add)

* fix set example
5 years ago
Zim Kalinowski 35c76ae0d3
Rename dtl and db _facts --> _info (#61496)
* rename modules

* created links

* fixed sanity

* removed unnecessary ignore rules

* added depreciation warning

* update ignore.txt to match

* removed unnecessary ignore rules

* update ignore.txt to match

* make ignore.txt same as in devel

* cr

* additional sanity
5 years ago
Ganesh Nalawade d7845da326
Fix in get api for eric_eccli cliconf plugin (#61507)
Fixes https://github.com/ansible/ansible/issues/60674

*  Fix get() API signature for eric_eccli cliconf plugin
   to work with cli_command module.
5 years ago
chkp-amiads aa58bb9d43 exception_group module (#61474)
* exception_group module

* Update cp_mgmt_exception_group.py
5 years ago
chkp-amiads 60ec8692fc security_zone module (#61447)
* security_zone module

* fix example
5 years ago
chkp-amiads 831942c834 service_icmp6 module (#61453)
* service_icmp6 module

* fix example
5 years ago
chkp-amiads d0bcfdf3a3 service_rpc module (#61468)
* service_rpc module

* fix example
5 years ago
chkp-amiads f31760d559 service_dce_rpc module (#61465)
* service_dce_rpc module

* fix example
5 years ago
chkp-amiads 2287585389 wildcard module (#61399)
* wildcard module

* list to dict

* fix example
5 years ago
chkp-amiads 7799e61faa dns_domain module (#61436)
* dns_domain module

* fix example
5 years ago
Zim Kalinowski a47e56cb15
SIG Additional fix (#61502)
* adding snapshot param

* fix problem with leftover empty dict

* leftovers

* fix leftovers
5 years ago
chkp-amiads 8097bd633c global_assignment module (#61449) 5 years ago
chkp-amiads 736bfc3a35 run_script module (#61444) 5 years ago
chkp-amiads d3a8a57db0 install_policy module (#61446) 5 years ago
chkp-orso be27159412 threat_exception module (#61470)
* threat_exception module

* fix examples
5 years ago
chkp-amiads fff11bde0d threat_profile module (#61391)
* threat_profile module

* list to dict

* fix example
5 years ago
chkp-amiads f1e1da7ad3 multicast_address_range module (#61438) 5 years ago
chkp-amiads 4c168bd019 vpn_community_star module (#61398)
* vpn_community_star module

* list to dict
5 years ago
chkp-amiads 7e2292427d vpn_community_meshed module (#61397)
* vpn_community_meshed module

* list to dict
5 years ago
Chris Archibald 799b0fac52 New module: cvs snapshots for aws (#61023)
* New module: cvs snapshots for aws

* fixeS
5 years ago
chkp-amiads 3bc5957a93 service_other module (#61450)
* service_other module

* fix test failure
5 years ago
chkp-amiads c52e0e5021 service_icmp module (#61451)
* service_icmp module

* fix example
5 years ago
Chris Archibald 53b2a261de new module: Cloud Volumes for AWS, active Directory (#61342)
* new module

* fixes

* update
5 years ago
chkp-amiads 834746b207 package module (#61439) 5 years ago
chkp-amiads f687bc0ff3 simple_gateway module (#61388)
* simple_gateway module

* list to dict

* fix indentation issue

fails tests
5 years ago
chkp-amiads a88436decd service_sctp module (#61386)
* service_sctp module

* list to dict

* fix example
5 years ago
Daniel Mellado 0746ae8b37 Limit config fetch on junos_l3_interfaces (#61219)
This commit adds a filter in junos_l3_interfaces so it limits the amount
of configuration fetched from the remote device.
5 years ago
chkp-amiads a54b78c67a verify_policy module (#61455) 5 years ago
chkp-orso 311ab5e4f8 put_file module (#61479) 5 years ago
chkp-orso c42ebf227c time module (#61477) 5 years ago
Milan Zink 183e6b9a84 New module - na_ontap_ldap_client (#59713)
* New module - na_ontap_ldap_client

* Fixing module example usage

* Fixing module documentation - ansible-test sanity

* Fulfile merge request comments

- required_if used for options
- 'client_config' option renamed to 'name'
- docstring updated
- imports placed according to Ansible module best practices

* create an ems log event for users with auto support turned on

* Fix required_if state=present options
5 years ago
Chris Van Heuveln f890c9692f nxos_bfd_interfaces: new module (#61407)
* bfd_interfaces: initial commit

* fix state methods, add more UT

* Add integration tests, support for N6K

* minor comment cleanups

* lint 1

* lint 2

* lint 3

* lint 4

* lint 5

* retrigger shippable

* retrigger shippable

* PR review updates: /bfd_echo/echo/, updated tests

* fix overridden logic and integration test
5 years ago
chkp-orso 7e9b02df39 access_layer module (#61373)
* access_layer module

* list to dict
5 years ago
Milan Zink 7482d21737 New module - na_ontap_ldap (#59718)
* New module - na_ontap_ldap

* Fixing module documentation - ansible-test sanity

* Fulfil merge request changes from comments

- 'client_config' option renamed to 'name'
- docstring updated
- imports placed according to Ansible module best practices

* Fixed docstring typo + netapp_utils.ems_log_event added
5 years ago
chkp-orso ca12d53463 administrator module (#61286)
* administrator module

* fix examples that the list param will apear with '-' instead of '_'

* add '-'

* update examples

* list to dict
5 years ago
chkp-orso 0b8da42757 application_site_category module (#61288)
* application_site_category module

* add '-'

* update examples

* list to dict
5 years ago
chkp-orso 723b955e95 threat_protection_override module (#61481) 5 years ago
Milan Zink 51e696cecf Improving na_ontap_command module (#60471)
* Improving na_ontap_command

- new option 'return_dict': true|false
- module returns parseable dictonary data instead of raw XML output when return_dict: true

* Fix module documentation typo

* Fixing pull request comments

* Python lint

* smaller try blocks
5 years ago
chkp-orso 35ab955885 access_role module (#61282)
* access_role module

* add '-'

* update examples

* list to dict
5 years ago
chkp-orso a26ff97de6 threat_indicator module (#61278)
* threat_indicator module

* remove _

* add '-'

* update examples

* fix
5 years ago
chkp-orso 7f344b7729 host module (#61277)
* host module

* add '-'

* update examples

* fix
5 years ago
chkp-orso 7b2a52651c service_udp module (#61276)
* service_udp module

* add '-'

* update examples

* fix
5 years ago
chkp-orso 64adad1aa2 service_tcp module (#61275)
* service_tcp module

* add '-'

* update examples

* fix
5 years ago
chkp-orso 19d91f6ee1 group module (#61274)
* group module

* add '-'

* update examples

* fix
5 years ago
chkp-orso a27711bfeb application_site module (#61287)
* application_site module

* add '-'

* update examples

* list of objects

* fix example
5 years ago
chkp-orso e7931d8074 access_rule module (#61281)
* access_rule module

* remove :

* fix to pass tests

* don't start line with quote (")

* remove redundant indentation

* return the origin description

* don't start line with quote (")

* enable longer lines, add '-'

*  adding state: present

* update examples

* dict to list

* list to dict

* Update cp_mgmt_access_rule.py

* remove rule_number
5 years ago
chkp-orso 09f4acbe51 threat_rule module (#61280)
* threat_rule module

* remove :

* insert to list

* remove redundant indentation

* Revert "insert to list"

This reverts commit de08dfdf32.

* enable longer lines, remove present, add '-'

* state: present

* update examples

* list to dict

* remove rule_number
5 years ago
Miguel Angel Muñoz González 86aab259fc Minor bug fixes - 3 (#61458) 5 years ago
Chris Archibald 9f006dd8c7 new module netapp csv pools for aws (#61340)
* new module cvs pools

* fixes

* updates

* fixes

* fixes

* fixes
5 years ago
Chris Archibald 4879cf8fff new module: Cloud Volume for AWS FileSystems (#61343)
* new module"

* fixes

* updates
5 years ago
James Cammarata 51b33b79c0
T woerner max concurrent (#60702)
* play, block, task: New attribute forks

With this it is possible to limit the number of concurrent task runs.
forks can now be used in play, block and task. If forks is set in different
levels in the chain, then the smallest value will be used for the task.

The attribute has been added to the Base class as a list to easily provide
all the values that have been set in the different levels of the chain.

A warning has been added because of the conflict with run_once. forks will
be ignored in this case.

The forks limitation in StrategyBase._queue_task is not used for the free
strategy.

Signed-off-by: Thomas Woerner <twoerner@redhat.com>

* Handle forks in free strategy

The forks attribute for the free strategy is handled in run in the free
StrategyModule. This is dony by counting the amount of tasks where the uuid
is the same as the current task, that should be queued next. If this amount
is bigger or equal to the forks attribute from the chain (task, block,
play), then it will be skipped to the next host. Like it is also done with
blocked_hosts.

Signed-off-by: Thomas Woerner <twoerner@redhat.com>

* Test cases for forks with linear and free strategy

With ansible_python_interpreter defined in inventory file using
ansible_playbook_python.

Signed-off-by: Thomas Woerner <twoerner@redhat.com>

* Changing forks keyword to throttle and adding some more docs
5 years ago
Matt Davis 7d1a981b61
default collection support (#61415)
* default collection support

* playbooks run from inside a registered collection will set that collection as the first item in the search order (as will all non-collection roles)
* this allows easy migration of runme.sh style playbook/role integration tests to collections without the playbooks/roles needing to know the name of their enclosing collection

* ignore bogus sanity error

* filed #61460

* fixed task unit test failure

* don't append an empty collections list to the ds

* ignore leftover local_action in mod_args ds action parsing

* fix async_extra_data test to not require ssh and bogus locale

* disable default collection test under Windows

* ensure collection location FS code is always bytes

* add changelog
5 years ago
robertchung caa5abdfc9 Fix TypeError in ec2_group.py for Python3 when sorting dictionary list (#59844)
* Fix TypeError in ec2_group.py for Python3 when sorting dictionary list

* Using json.loads() and dumps() to replace sorting

* Bug fixes for ec2_group.py

* Dictionaries cannot be compared/sorted in Python3

* Diff will occur when the IpPermissions have the same IpRanges but have different ordering

* 'before' will be sorted by 'Type' with high priority than 'IP', but 'boto3.describe_security_groups()' function cannot get 'Type' from Amazon

* Add some basic diff mode testing to exercise the rule-sorting code
5 years ago
Milan Zink 7ff7ce0123 New storage/netapp module - na_ontap_kerberos_realm (#59923)
* New module na_ontap_kerberos_realm

* Copyright updated

* Unit test for modules + fixed required_if parameters issue

* reverting state=modify

* fixing test

* Fixing imports section
5 years ago
Matt Clay 8521474f06 Revert "maven_artifact.py - add support for version ranges by using spec (#54309)"
This reverts commit 145a6a8756.
5 years ago
Chris Trufan 44c18b544f Addition of ECS_Certificate Module (#60883)
* Addition of ecs_certificate module.

* Documentation and code fixes

* Updates per code review

* Doc fixes, rename of chain_path to full_chain_path, add regex for cert_Expiry check

* Fixes to pep8 check to make regexp string 'raw'.

* Mistakes with find/replace of caseing.

* Added integration tests and some doc cleanup

* Some additional assertions and test typo cleanup

* Update lib/ansible/modules/crypto/entrust/ecs_certificate.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Responses to code review comments

* Remove fake passwords from aliases file.
5 years ago
Nathan Swartz 1d9b473e56 Add netapp_e_firmware module (#59529)
* Add na_santricity_firmware module.

Manages NetApp E-Series firmware upgrades.
Includes unit and integration tests.

* Add legacy support to na_santricity_firmware module.

* Rename na_santricity_firmware to netapp_e_firmware

* Improved netapp_e_firmware example documentation.
5 years ago
Nathan Swartz f02a62db50 Add netapp_e_drive_firmware (#59528)
* Add na_santricity_drive_firmware module

Manage NetApp E-Series drive firmware downloads
Includes unit and integration tests

* Rename na_santricity_drive_firmware to netapp_e_drive_firmware
5 years ago