Commit Graph

361 Commits (c92fcf0b570fac228eaa89c4a8114b354b4addad)

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