1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

412 commits

Author SHA1 Message Date
Dag Wieers
6193875a58
Add more keywords to VMware (#51921) 2019-02-08 04:34:32 +01:00
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
2019-02-07 20:40:14 +01:00
Dag Wieers
705b0476fc Add team_crypto (#51866)
A first step to a Crypto Working Group.

This PR also includes letsencrypt keyword.
2019-02-07 18:25:46 +00:00
Trishna Guha
1fb6353d56
add chrisvanheuveln to nxos (#51869)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-02-07 19:51:47 +05:30
Trishna Guha
62f9b53962
remove tstoner from notifying list (#51797)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-02-06 12:13:56 +05:30
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
2019-02-04 13:08:46 +00:00
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.
2019-02-02 19:12:36 +00:00
Dag Wieers
40130b82ae
Added new AIX and Gitlab members 2019-02-01 20:25:12 +01:00
Dag Wieers
36b8140743 BOTMETA: Restructure Docker, Digital Ocean and Windows (#51544) 2019-02-01 10:52:45 -05:00
Dag Wieers
a64fc73d51 Add $team_postgresql (#51558)
* Add $team_postgresql

A first step to a PostgreSQL Working Group.

* Add new member
2019-02-01 15:10:58 +00:00
Dag Wieers
d3869fc887 Add keywords for Working Groups 2019-01-30 18:21:07 +00:00
Brian Coca
cf386eb259
add info for module-utils tower (#51450)
(cherry picked from commit 7a4e2bdc69efa9cb2c08a22cbea901907b9fcde4)
2019-01-30 11:24:09 -05:00
Dag Wieers
98db75e7e7
Add installp to $aix_team
This was recently added.
2019-01-29 03:29:34 +01:00
Dag Wieers
bc09d05917
Added new members 2019-01-28 14:51:42 +01:00
Dag Wieers
bd44db141a Add $team_mysql (#51374) 2019-01-28 12:09:29 +00:00
Dag Wieers
9f5a251e25
More teammembers for aix, bsd, hpux and solaris
As requested
2019-01-27 02:08:57 +01:00
Dag Wieers
2c2a79f712
Avoid macos stuff to become deprecated
This is a workaround for ansible/ansibullbot#1155
2019-01-25 22:25:07 +01:00
Dag Wieers
988918410c
Added new $team_gitlab members 2019-01-24 13:33:30 +01:00
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
2019-01-23 20:03:47 -05:00
Dag Wieers
b44c8dc000
team_macos: Add auto-labeling for macOS (#51255) 2019-01-24 00:43:23 +01:00
Felix Fontein
84562ea25b Add team_docker as maintainer for and docker label to docker scenario guide. (#51229) 2019-01-23 14:14:15 -06:00
Dag Wieers
152d7b674d
Add more team-members to $team_gitlab 2019-01-22 20:01:54 +01:00
Dag Wieers
7f2b9a8a31
Add $team_gitlab (#51176) 2019-01-22 15:08:31 +01:00
Dag Wieers
fcbead7931
More BSD/Solaris maintainers (#51138) 2019-01-21 17:58:32 +01:00
Dag Wieers
def4434bac
New Unix maintainers (AIX, BSD, Solaris) (#51117) 2019-01-21 09:25:33 +01:00
ABond
d55479d063 DigitalOcean module deprecation (#47272) 2019-01-19 21:25:33 +00:00
Dag Wieers
56798ae04f
Welcome bcoca ! 2019-01-19 15:53:51 +01:00
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
2019-01-18 22:57:24 +01:00
Dag Wieers
d3dc8a52bb
Add new hpux labels and $team_hpux (#51075) 2019-01-18 19:11:14 +01:00
Dag Wieers
b897635ff5
team_solaris: Add auto-labeling for solaris (#50730) 2019-01-18 18:55:31 +01:00
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
2019-01-16 14:53:38 +01:00
Bruce Pennypacker
11b27b367c Ignore @bpennypacker (#50948) 2019-01-15 16:34:24 -05:00
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
2019-01-15 15:01:59 +01:00
Pilou
f981d3c523 Giving felixfontein supershipit on docker stuff (#50878) 2019-01-14 10:01:03 -05:00
Dag Wieers
532aa661b7
Add mksysb module to $team_aix 2019-01-10 01:21:40 +01:00
Dag Wieers
4902306dd8
Added two new members to AIX WG 2019-01-09 14:15:09 +01:00
Jordan Borean
6d605dc3f9
adbotmeta: add windows support to executor/powershell i (#50689) 2019-01-09 12:25:02 +10:00
Dag Wieers
b5d92c6df4
team_aix: Add members to the new team (#50660) 2019-01-09 01:06:20 +01:00
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
2019-01-04 15:10:38 -06:00
Simon Weald
d4bd323c3a update github handle (#50235) 2018-12-21 23:59:37 +01:00
Alex Stephen
774c1a5724 Giving Google engineers supershipit on GCP Ansible resources/plugins/tests (#50218) 2018-12-21 11:18:48 +10:00
Jordan Borean
7bce6818eb
Added supershipit to botmeta sanity test (#50219) 2018-12-21 10:36:43 +10:00
Dag Wieers
a8292778f0 Fix GitHub handle, use keachi (#50043)
* Fix GitHub handle, use keachi

* Add UTF8 name
2018-12-17 19:35:49 +00:00
John R Barker
7ddc59b980
Gundalow no net docs updates (#50031) 2018-12-17 15:54:37 +00:00
f-bor
134c1a624e new network module: edgeswitch_vlan (#48041)
* initial commit

* better commands generation
2018-12-17 11:30:17 +05:30
John R Barker
8782293aa9 BOTMETA module_utils/ec2.py us aws (#49899) 2018-12-13 12:08:17 -05:00
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>
2018-12-11 16:38:01 +01:00
John R Barker
446e953a7b
BOTMETA - plugins/filters (#49655) 2018-12-10 22:40:22 +00:00
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.
2018-12-10 09:58:06 +01:00
Humberto Nanni
ed248a6a86 Update BOTMETA.yml (#49622) 2018-12-07 16:32:12 +00:00
John R Barker
4d23de6e41 plugins/connection/saltstack.py is support: community (#49502) 2018-12-05 09:03:55 +05:30
David Wittman
345b6cdec8 Update BOTMETA ignore list for alternatives.py (#49489)
I'm getting way too many emails. Thank you!
2018-12-04 14:58:40 -06:00
Bojan Vitnik
a44326bb1a Update botmeta with maintainer info for XenServer related modules (#49424) 2018-12-03 08:33:56 +00:00
John R Barker
a36caca9f6 labels: docsite (#49359) 2018-11-30 08:41:51 -05:00
Amit Singh
c7043765cd Update BOTMETA.yml (#49179)
Added additional names to the team_netivsor maintainers list

Following people were added: pdam preetiparasar csharpe-pn
2018-11-27 13:04:17 +00:00
John R Barker
771a706c20
Update ignore list (#49127) 2018-11-26 13:16:56 +00:00
jctanner
f6c83538d3
ignore yum module creator (#49009) 2018-11-21 19:47:45 -05:00
Brian Coca
9f785cf8a9 updated missing botmeta support core (#48958)
* botmeta add more support:core
2018-11-21 11:27:54 +00:00
John R Barker
a6cf45da16
botmeta - ignore cigamit from VMware (#48978) 2018-11-21 10:28:56 +00:00
Jordan Borean
7692882db3
Added csharp utils to the botmeta (#48909) 2018-11-20 09:21:11 +10:00
Abhijeet Kasurde
b4542e429f Add ckotte as VMware maintainer (#48884)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-11-19 17:18:04 +00:00
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
2018-11-19 11:47:14 +00:00
John R Barker
690b990fb5 plugins/loader is core (#48868) 2018-11-19 06:09:09 -05:00
Pierre-Louis Bonicoli
4c70d09c80 Remove hekonsek from team_scaleway
and don't notify contributor anymore.
2018-11-14 23:06:20 +01:00
John R Barker
76bd7ab25a
module_utils/vmware is support:community (#48627) 2018-11-14 13:18:11 +00:00
Ghilli3
31ea97c8ea adding fortimanager reviewers (#48581)
* adding fortimanager reviewers
2018-11-13 11:42:05 +00:00
Dag Wieers
f6769d5657
Add msc test targets 2018-11-10 01:59:40 +01:00
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
2018-11-09 12:11:51 +00:00
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
2018-11-09 07:24:13 +00:00
John R Barker
54db073817
basic.py is support:core (#48340) 2018-11-08 11:51:41 +00:00
Brian Coca
6c987a13f9 updated some callback info 2018-11-05 09:19:41 -05:00
Robin Roth
435e764fb3 Replace robinro with webknjaz me as pip module maintainer
PR #48037
2018-11-04 01:00:38 +02:00
Laurent Nicolas
96a20e0780 Add NetApp reviewer (#47995)
* Add NetApp reviewer
2018-11-02 19:19:31 -04:00
Dag Wieers
0c5bc7bf32 Correct user anasbadaha (remove anasb from being notified for onyx) (#47986)
* Remove anasb from being notified for onyx, replace with anasbadaha
2018-11-02 15:42:39 -05:00
Nadir
ec48e854c9 Added maintaner to the ignore list (#47448) 2018-11-02 12:12:29 +00:00
Tzur Eliyahu
105d6e8c88 BOTMETA: Define tzurE as a maintainer for ibm storage modules (#47922) 2018-11-01 09:47:08 -04:00
anasbadaha
81308e8b22 Adding new member for onyx team (#47552)
Signed-off-by: Anas Badaha <anasb@mellanox.com>
2018-10-30 15:48:17 -05:00
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.
2018-10-30 14:54:38 -05:00
Tim Rupp
72d53f82eb
Adds caphrim007 to more f5 resources (#46348)
F5 action plugins were missing their maintainer
2018-10-27 18:33:23 -07:00
Martin Krizek
4d0781be61
Rename team_e-spirit to something bot likes (#47687) 2018-10-26 20:25:35 +02:00
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
2018-10-26 23:21:54 +05:30
Monty Taylor
c754384dce Add odyssey4me, cloudnull and evrardjp to openstack team (#47419)
Also remove thingee and omgjlk, who aren't really involved anymore.
2018-10-26 10:57:39 +10:00
John R Barker
8592bacb23
BOTMETA define (#47498) 2018-10-25 11:18:58 +01:00
John R Barker
ad3579b4ab
restore ptux for Copy maintainer (#47266) 2018-10-18 11:08:26 +01:00
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>
2018-10-17 22:59:41 +02:00
Simon Dodsley
2d66695fd7 BOTMETA : Add more Pure maintainers (#47116) 2018-10-16 13:43:38 +01:00
Simon Dodsley
39b0b312f2 Add new Pure Storage maintainers (#47074) 2018-10-15 19:09:24 +01:00
Rémy Léone
8a31d26e31 Add a netbox team to botmeta (#46817) 2018-10-12 10:29:36 +02:00
Monty Taylor
1444bff9cf Add mnaser to OpenStack team (#46753) 2018-10-10 13:55:43 +01:00
John R Barker
9e5305221a
Define team_botmeta & inventory plugin (#46684) 2018-10-09 14:13:55 +01:00
René Moser
a1f80a07dc botmeta: cloudstack: new team member (#46622) 2018-10-08 19:37:21 -05:00
lwm
278ec84cb9 Add rmcintosh as new Linode maintainer. (#46642)
Part of the push on the new https://github.com/ansible/community/wiki/Linode.
2018-10-08 15:23:50 -05:00
lwm
107089131e Linode maintainers: Add displague. Remove zbal. (#46635)
* Add displague. Remove zbal.

Lines up with https://github.com/ansible/community/issues/365.
2018-10-08 20:22:58 +01:00
John R Barker
5255d52f15
changelogs/fragments/: community (#46616) 2018-10-08 11:12:18 +01:00
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.
2018-10-04 11:25:09 +10:00
Felix Fontein
d757a775cf Subscribing to notifications. (#46372) 2018-10-03 15:43:02 -04:00
Will Thames
d388e09940 Add the k8s label to the k8s files
k8s label for inventory plugin, module_utils
and modules
2018-10-01 15:04:48 -04:00
Simon Dodsley
a9b7356f2d Add label pure_storage for all related files. Add team_purestorage macro 2018-10-01 11:55:47 -04:00
Rémy Léone
6e855658a9 Add new member to botmeta 2018-10-01 11:48:11 -04:00
Garfield Lee Freeman
0dedfcd70f Adding connector for network/panos modules (#46142) 2018-09-27 17:36:42 -04:00