Commit Graph

448 Commits (b13fa0d408224b818544de9f1d2dd9fd0823cda2)

Author SHA1 Message Date
Guillaume Martinez 959939b866 Refactor gitlab modules (#51141)
* gitlab_group: refactor module

* gitlab_user: refactor module

* gitlab_group, gitlab_user; pylint

* gitlab_project: refactor module

* gitlab_group, gitlab_project, gitlab_user: Enchance modules

- Add generic loop to update object
- Enchance return messages
- PyLint

* gitlab_runner: refactor module

* gitlab_hooks: refactor module

* gitlab_deploy_key: refactor module

* gitlab_group: enchance module and documentation

- Enchange function arguments
- Add check_mode break
- Rewrite module documentation

* gitlab_hook: enchance module and documentation

- Rewrite documentation
- Enchance function parameters
- Rename functions

* gitlab_project: enchance module and documentation

- Rewrite documentation
- Enchance function parameters
- Add try/except on project creation

* gitlab_runner: enchance module and documentation

- Rewrite documentation
- Fix Copyright
- Enchance function arguments
- Add check_mode break
- Add missing function: deletion

* gitlab_user: enchance module and documentation

- Rewrite documentation
- Enchance function parameters
- Add check_mode break
- Add try/except on user creation

* gitlab_deploy_key, gitlab_group, gitlab_hooks, gitlab_project,
gitlab_runner, gitlab_user: Fix residual bugs

- Fix Copyright
- Fix result messages
- Add missing check_mode break

* gitlab_deploy_key, gitlab_group, gitlab_hooks, gitlab_project, gitlab_runner, gitlab_user: pylint

* gitlab_runner: Add substitution function for 'cmp' in python3

* unit-test: remove deprecated gitlab module tests

- gitlab_deploy_key
- gitlab_hooks
- gitlab_project

Actually, they can't be reused because of the modification of the way that the module communicate with the Gitlab instance. It doesn't make direct call to the API, now it use a python library that do the job. So using a pytest mocker to test the module won't work.

* gitlab_deploy_key, gitlab_group, gitlab_hooks, gitlab_project, gitlab_runner, gitlab_user: add copyright

* gitlab_deploy_key, gitlab_group, gitlab_hooks, gitlab_project, gitlab_runner, gitlab_user: Support old parameters format

* module_utils Gitlab: Edit copyright

* gitlab_deploy_key, gitlab_group, gitlab_hooks, gitlab_project,
gitlab_runner, gitlab_user: Unifying module inputs

- Rename verify_ssl into validate_certs to match standards
- Remove unused alias parameters
- Unify parameters type and requirement
- Reorder list order

* gitlab_deploy_key, gitlab_group, gitlab_hooks, gitlab_project, gitlab_runner, gitlab_user: Unifying module outputs

- Use standard output parameter "msg" instead of "return"
- Use snail_case for return values instead of camelCase

* validate-module: remove sanity ignore

* BOTMETA: remove gitlab_* test

- This tests need to be completely rewriten because of the refactoring
of these modules
- TodoList Community Wiki was updated

* gitlab_user: Fix group identifier

* gitlab_project: Fix when group was empty

* gitlab_deploy_key: edit return msg

* module_utils gitlab: fall back to user namespace is project not found

* gitlab modules: Add units tests

* unit test: gitlab module fake current user

* gitlab_user: fix access_level verification

* gitlab unit tests: use decoration instead of with statement

* unit tests: gitlab module skip python 2.6

* unit tests: gitlab module skip library import if python 2.6

* gitlab unit tests: use builtin unittest class

* gitlab unit tests: use custom test class

* unit test: gitlab module lint

* unit tests: move gitlab utils

* unit test: gitlab fix imports

* gitlab_module: edit requirement

python-gitlab library require python >= 2.7

* gitlab_module: add myself as author

* gitlab_modules: add python encoding tag

* gitlab_modules: keep consistency between variable name "validate_certs"

* gitlab_modules: enchance documentation

* gitlab_runner: fix syntax error in documentation

* gitlab_module: use basic_auth module_utils and add deprecation warning

* gitlab_module: documentation corrections

* gitlab_module: python lint

* gitlab_module: deprecate options and aliases for ansible 2.10

* gitlab_group: don't use 'local_action' is documentation example

* gitlab_module: correct return messages

* gitlab_module: use module_util 'missing_required_lib' when python library is missing

* gitlab_module: fix typo in function name.

* gitlab_modules: unify return msg on check_mode

* gitlab_modules: don't use deprecated options in examples
6 years ago
Dag Wieers 705b0476fc Add team_crypto (#51866)
A first step to a Crypto Working Group.

This PR also includes letsencrypt keyword.
6 years ago
Trishna Guha 1fb6353d56
add chrisvanheuveln to nxos (#51869)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
6 years ago
Will Thames 945ee39a89
Improve the issue template for dependency problems (#51657)
So many reports of missing modules could be solved
more quickly with the info from `python_requirements_facts`

Replace the legacy issue template with a link to the
new interface
6 years ago
Trishna Guha 62f9b53962
remove tstoner from notifying list (#51797)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
6 years ago
Piotr Wojciechowski daf1cfbde0 docker_node: Docker Swarm node operations module (#50584)
* * docker_node: New module for operations on Docker Swarm node
* Shared code for Docker Swarm modules

* * docker_node: Removed the attribute `force` as it is not used for any operation

* docker_node_facts: Update module to use client class AnsibleDockerSwarmClient instead of AnsibleDockerClient

* docker_node_facts: List of nodes can be provided as input, inspect all registered nodes or manager host itself

* docker_node: Update in method name called from AnsibleDockerSwarmClient

* docker_node: Additional method to shared module to get formatted output list of registered nodes

* docker_node: Additional method to shared module to get formatted output list of registered nodes

* docker_node: removed state list (featue moved to docker_swarm_facts)

* docker_node: Node labels manipulation (remove, replace, merge)

* module_utils/docker_swarm: Updated output for nodes list - adding swarm leader flag

* docker_node_facts: update in input and return values, update in documentation section

* docker_node: Updated operations on labels, tracking if change is required

* docker_node: Updated documentation, parameter 'hostname' is now required
docker_node_facts: Updated documentation

* * Failing Ansible tasl if not run on swarm manager - code cleanup

* * docker_node: Remove the 'action' list from output

* * docker_node: variable name change to be align with Python best practice, BOTMETA.yml update

* * module_utils/docker_swarm.py: fix for incorrect fail() action
* docker_node: documentation and code small updates

* * docker_node: revised labels manipulation

* docker_node_facts: Reverting to repository version, moving this change to separate PR

* * docker_node: Documentation update

* * docker_node: Update to node availability and role modification

* * docker_node: Update to check_mode handling

* * docker_node: Code cleanup

* docker_node_facts: Code cleanup

* docker_node_facts: Adding back the module with only update to use AnsibleDockerSwarmClient instead of AnsibleDockerClient
docker_node: cosmetic code changes
BOTMETA: updated on $team_docker

* docker_node: BOTMETA update
6 years ago
Tim Rupp 470af47ea8 Adds Woj as maintainer (#51644)
Woj has been doing the role of maintainer for the last couple months
since I stepped down from F5. Happy to have him on the CC list.
6 years ago
Dag Wieers 40130b82ae
Added new AIX and Gitlab members 6 years ago
Dag Wieers 36b8140743 BOTMETA: Restructure Docker, Digital Ocean and Windows (#51544) 6 years ago
Dag Wieers a64fc73d51 Add $team_postgresql (#51558)
* Add $team_postgresql

A first step to a PostgreSQL Working Group.

* Add new member
6 years ago
Dag Wieers d3869fc887 Add keywords for Working Groups 6 years ago
Brian Coca cf386eb259
add info for module-utils tower (#51450)
(cherry picked from commit 7a4e2bdc69efa9cb2c08a22cbea901907b9fcde4)
6 years ago
Dag Wieers 98db75e7e7
Add installp to $aix_team
This was recently added.
6 years ago
Dag Wieers bc09d05917
Added new members 6 years ago
Dag Wieers bd44db141a Add $team_mysql (#51374) 6 years ago
Dag Wieers 9f5a251e25
More teammembers for aix, bsd, hpux and solaris
As requested
6 years ago
Dag Wieers 2c2a79f712
Avoid macos stuff to become deprecated
This is a workaround for ansible/ansibullbot#1155
6 years ago
Dag Wieers 988918410c
Added new $team_gitlab members 6 years ago
Brian Coca 96b3ef5553
Doc fragments to plugins (#50172)
* promote doc_fragments into actual plugins

  change tests hardcoded path to doc fragments
  avoid sanity in fragments
  avoid improper testing of doc_fragments
  also change runner paths
 fix botmeta
 updated comment for fragments
 updated docs
6 years ago
Dag Wieers b44c8dc000
team_macos: Add auto-labeling for macOS (#51255) 6 years ago
Felix Fontein 84562ea25b Add team_docker as maintainer for and docker label to docker scenario guide. (#51229) 6 years ago
Dag Wieers 152d7b674d
Add more team-members to $team_gitlab 6 years ago
Dag Wieers 7f2b9a8a31
Add $team_gitlab (#51176) 6 years ago
Dag Wieers fcbead7931
More BSD/Solaris maintainers (#51138) 6 years ago
Dag Wieers def4434bac
New Unix maintainers (AIX, BSD, Solaris) (#51117) 6 years ago
ABond d55479d063 DigitalOcean module deprecation (#47272) 6 years ago
Dag Wieers 56798ae04f
Welcome bcoca ! 6 years ago
Dag Wieers bea698fbc3
team_bsd: Add auto-labeling for BSD (#51085)
We are forming an BSD Working Group with the active BSD contributors.
This relates to ansible/community#430
6 years ago
Dag Wieers d3dc8a52bb
Add new hpux labels and $team_hpux (#51075) 6 years ago
Dag Wieers b897635ff5
team_solaris: Add auto-labeling for solaris (#50730) 6 years ago
Dag Wieers a79441ca30
Rename MSC modules to MSO nomenclature (#50959)
* msc_tenant: improve docs

* Rename MSC modules to MSO

* Rename MSC-related objects to MSO nomenclature

* Add missing doc fragments
6 years ago
Bruce Pennypacker 11b27b367c Ignore @bpennypacker (#50948) 6 years ago
René Moser df6d1aec56 botmeta: adjust my cloud namespaces (#50884)
* ensure vultr tests in targets, docs covered
* add me to cloudscale namespace
* ensure cloudstack tests in targets, docs covered
6 years ago
Pilou f981d3c523 Giving felixfontein supershipit on docker stuff (#50878) 6 years ago
Dag Wieers 532aa661b7
Add mksysb module to $team_aix 6 years ago
Dag Wieers 4902306dd8
Added two new members to AIX WG 6 years ago
Jordan Borean 6d605dc3f9
adbotmeta: add windows support to executor/powershell i (#50689) 6 years ago
Dag Wieers b5d92c6df4
team_aix: Add members to the new team (#50660) 6 years ago
Matt Martz bb77bc54d5
module_utils/urls.py is core (#50567)
* module_utils/urls.py is core

* More core supported module_utils

* More missed core module_utils
6 years ago
Simon Weald d4bd323c3a update github handle (#50235) 6 years ago
Alex Stephen 774c1a5724 Giving Google engineers supershipit on GCP Ansible resources/plugins/tests (#50218) 6 years ago
Jordan Borean 7bce6818eb
Added supershipit to botmeta sanity test (#50219) 6 years ago
Dag Wieers a8292778f0 Fix GitHub handle, use keachi (#50043)
* Fix GitHub handle, use keachi

* Add UTF8 name
6 years ago
John R Barker 7ddc59b980
Gundalow no net docs updates (#50031) 6 years ago
f-bor 134c1a624e new network module: edgeswitch_vlan (#48041)
* initial commit

* better commands generation
6 years ago
John R Barker 8782293aa9 BOTMETA module_utils/ec2.py us aws (#49899) 6 years ago
rajeevarakkal 62b2a08cfb Add DellEMC iDRAC Firmware module (#46675)
Co-Authored-By: rajeevarakkal <36444805+rajeevarakkal@users.noreply.github.com>
Co-Authored-By: Sviatoslav Sydorenko <578543+webknjaz@users.noreply.github.com>
6 years ago
Brian Coca f7c44aa9c8 readded rst 6 years ago
Brian Coca cefae7a967 added missing guess 6 years ago
Brian Coca f8685e4819 Let submitters know component is 'best effort' (#49619)
* Let submitters know component is 'best effort'

* updated as per FB
6 years ago
John R Barker 446e953a7b
BOTMETA - plugins/filters (#49655) 6 years ago
Felix Fontein 60a3b0bcf0 docker module_docs_fragment should also be community supported and maintained by $team_docker (#49679)
* Put docker module_docs_fragment under jurisdiction of .

* Add DBendit to team_docker.
6 years ago
Humberto Nanni ed248a6a86 Update BOTMETA.yml (#49622) 6 years ago
John R Barker 4d23de6e41 plugins/connection/saltstack.py is support: community (#49502) 6 years ago
David Wittman 345b6cdec8 Update BOTMETA ignore list for alternatives.py (#49489)
I'm getting way too many emails. Thank you!
6 years ago
Bojan Vitnik a44326bb1a Update botmeta with maintainer info for XenServer related modules (#49424) 6 years ago
John R Barker a36caca9f6 labels: docsite (#49359) 6 years ago
Amit Singh c7043765cd Update BOTMETA.yml (#49179)
Added additional names to the team_netivsor maintainers list

Following people were added: pdam preetiparasar csharpe-pn
6 years ago
John R Barker 771a706c20
Update ignore list (#49127) 6 years ago
jctanner f6c83538d3
ignore yum module creator (#49009) 6 years ago
Brian Coca 9f785cf8a9 updated missing botmeta support core (#48958)
* botmeta add more support:core
6 years ago
John R Barker a6cf45da16
botmeta - ignore cigamit from VMware (#48978) 6 years ago
Jordan Borean 7692882db3
Added csharp utils to the botmeta (#48909) 6 years ago
Abhijeet Kasurde b4542e429f Add ckotte as VMware maintainer (#48884)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Pilou 7f98a8db12 BOTMETA.yml and module metadata: fix case authors (#46051)
* botmeta: fix GitHub ID case

* module authors: fix GitHub ID case

* replace CloudEngine-Ansible by submitter GitHub ID
6 years ago
John R Barker 690b990fb5 plugins/loader is core (#48868) 6 years ago
Pierre-Louis Bonicoli 4c70d09c80 Remove hekonsek from team_scaleway
and don't notify contributor anymore.
6 years ago
John R Barker 76bd7ab25a
module_utils/vmware is support:community (#48627) 6 years ago
Matt Clay 50da276544 Remove ansible version from PR template.
While important for issues, it adds almost no value for PRs.
6 years ago
Ghilli3 31ea97c8ea adding fortimanager reviewers (#48581)
* adding fortimanager reviewers
6 years ago
Dag Wieers f6769d5657
Add msc test targets 6 years ago
Andrea Tartaglia b7d9feb7dc ec2_instance: ebs_optimized is not sub-option of 'network' (#48341)
* ebs_optimized is not suboption of 'network'

* Add Shaps as ec2_instance maintainer

* Added workaround-backward compatible check for ebs_optimized

* Added ebs_optimized test

* CI fixes, dynamic select of ENA-enabled AMI
6 years ago
FragmentedPacket 3147dc2a15 Netbox_device.py module (#46936)
* netbox_device module

* Add init.py to each directory

* Fixed a few of the shippable failed tests

* No need for import pynetbox in netbox_utils-removed, changed syntax for set

* A bit more cleanup

* Fixed the 'data' to have suboptions

* Fixed formatting for device_role

* Attempting to fix shippable errors

* Final testing and updated documentation

* Fixed return type and removed testing result files

* Updated some returns to be a list to keep 'meta' formatting consistent

* Updated module to standardize the meta return type

* Updated short_description and added David Gomez as author

* Updated short_description, added David Gomez as author, added module direcotry to BOTMETA.yml

* Updated data type to dict and removed JSON from netbox_utils
6 years ago
John R Barker 54db073817
basic.py is support:core (#48340) 6 years ago
Brian Coca 6c987a13f9 updated some callback info 6 years ago
Robin Roth 435e764fb3 Replace robinro with webknjaz me as pip module maintainer
PR #48037
6 years ago
Laurent Nicolas 96a20e0780 Add NetApp reviewer (#47995)
* Add NetApp reviewer
6 years ago
Dag Wieers 0c5bc7bf32 Correct user anasbadaha (remove anasb from being notified for onyx) (#47986)
* Remove anasb from being notified for onyx, replace with anasbadaha
6 years ago
Nadir ec48e854c9 Added maintaner to the ignore list (#47448) 6 years ago
Tzur Eliyahu 105d6e8c88 BOTMETA: Define tzurE as a maintainer for ibm storage modules (#47922) 6 years ago
anasbadaha 81308e8b22 Adding new member for onyx team (#47552)
Signed-off-by: Anas Badaha <anasb@mellanox.com>
6 years ago
Dag Wieers b7e77c4274 BOTMETA: Move rabbitmq modules to own directory (#46064)
Moving rabbitmq modules to own directory makes it possible to automatically include $team_rabbitmq for new modules.
6 years ago
John R Barker 72359a10e6 Tidy up Contributors Docs (#47619)
* Tidy up docs on GitHub, direct people to docs.ansible.com
* De-duplicate documentation and move useful info
6 years ago
Tim Rupp 72d53f82eb
Adds caphrim007 to more f5 resources (#46348)
F5 action plugins were missing their maintainer
6 years ago
Martin Krizek 4d0781be61
Rename team_e-spirit to something bot likes (#47687) 6 years ago
Johannes Brunswicker d3be5d5327 Creates base Sophos UTM module (#45781)
* Fixes #18568
* Commit of the first set of utm modules
* added documentation line for module_utils file
* removed other utm modules for the first pr
* added maintainers to botmeta
* implemented fixes for shippable
* fixed whitespaces and newlines in included doc fragment
* added types and choices to documentation
* fix for E501
* Implemented change requests
* changed utm_utils license to BSD
* changed str() to to_native()
* added a status state that will just return information about my object
* renamed state 'status' to 'info'
* added team_e-spirit to botmeta and added the team as maintainer for the utm_utils
* only return a result if the lookup was not empty. Do not return a null result
* removed info state
* added boilerplate
* made preparation for info-only modules
6 years ago
Monty Taylor c754384dce Add odyssey4me, cloudnull and evrardjp to openstack team (#47419)
Also remove thingee and omgjlk, who aren't really involved anymore.
6 years ago
John R Barker 8592bacb23
BOTMETA define (#47498) 6 years ago
John R Barker ad3579b4ab
restore ptux for Copy maintainer (#47266) 6 years ago
Stanislas 9cc9ca584a Implement snap packaging module
PR #44939

Fixes #39155
Closes #40852

Co-authored-by: Victor Carceler <vcarceler@iespuigcastellar.xeill.net>
Co-authored-by: Stanislas Lange <angristan@pm.me>
Co-authored-by: Sviatoslav Sydorenko <wk@sydorenko.org.ua>
6 years ago
Simon Dodsley 2d66695fd7 BOTMETA : Add more Pure maintainers (#47116) 6 years ago
Simon Dodsley 39b0b312f2 Add new Pure Storage maintainers (#47074) 6 years ago
Rémy Léone 8a31d26e31 Add a netbox team to botmeta (#46817) 6 years ago
Monty Taylor 1444bff9cf Add mnaser to OpenStack team (#46753) 6 years ago
John R Barker 9e5305221a
Define team_botmeta & inventory plugin (#46684) 6 years ago
René Moser a1f80a07dc botmeta: cloudstack: new team member (#46622) 6 years ago
lwm 278ec84cb9 Add rmcintosh as new Linode maintainer. (#46642)
Part of the push on the new https://github.com/ansible/community/wiki/Linode.
6 years ago
lwm 107089131e Linode maintainers: Add displague. Remove zbal. (#46635)
* Add displague. Remove zbal.

Lines up with https://github.com/ansible/community/issues/365.
6 years ago
John R Barker 5255d52f15
changelogs/fragments/: community (#46616) 6 years ago
John Imison c4cfa387ea Lookup plugin for rabbitmq (#44070)
* Adding a basic get lookup for rabbitmq.

* Always return a list

* If content type is JSON, make accessible via dict.

* Fixed incorrect json.loads variable and missing raise

* Change to document returned data

* Fixed pep8 issues

* Adding integration testing

* Moving lookup intgration tests to new target

* New rabbitmq lookup plugin (#44070).

* New rabbitmq lookup plugin (#44070).

* PR review feedback updates

* Testing pika is installed

* Minor mods to tests

* Check if connection is already closed or closing

* Updated tests and connection testing

* PR review feedback updates

* PR review include ValueError in AnsibleError output

* Suggesting to use set_fact when using returned variable more than once.

* Cleaned up some tests, added some notes and handling connection closure on some exceptions.

* Removed finally statement and added some additional error handling.

* Added some additional error handling.

* PR review updates.

* Additional integration tests and removing return in finally

* Updated version

* Changing back to running tests on ubuntu.

* Additional tests

* Running tests on  Ubuntu only

* Fixing syntax error

* Fixing ingtegration tests and a string/byte issue

* Removed non-required test and fixed BOTMETA

* Trying to fix integration test failure on ubuntu1404

* Some issues occured when handling messages from the queue with to_native.  Switching to to_text resolved the issues.

* Renaming channel to queue (thanks dch). Disabling trusty tests.
6 years ago