Commit graph

361 commits

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
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