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

163 commits

Author SHA1 Message Date
Rémi REY
71699d5140 Introduce grafana callback plugin. (#34246)
* Introduce grafana callback plugin.

The grafana plugin plublishes annotations to the HTTP API available in
Grafana 4.6+

The callback publishes:
* An annotation on playbook start, tagged with "ansible",
 "ansible_event_start" and playbook name, example:

```
{
    "text": "Started playbook test.yml\n\nFrom 'pc45.home'\nBy user 'remirey'\n",
    "tags": ["ansible", "ansible_event_start", "test.yml"],
    "time": 1514291163000
}
```

* An annotation on error containing the host and task who failed and
  tagged with "ansible", "ansible_event_failure" and playbook name, example:

```
{
    "text": "Playbook test.yml Failure !\n\nFrom 'pc45.home'\nBy user 'remirey'\n\n'TASK: simulate failure' failed on localhost\n\ndebug: {\"changed\": false, \"msg\": \"Some random failure\"}\n",
    "tags": ["ansible", "ansible_event_failure", "test.yml"],
    "time": 1514291165000
}
```

* A region annotation emitted on playbook stats, tagged with "ansible",
  "ansible_report" and playbook name, example:

```
{
    "text": "Playbook test.yml\nDuration: 1.641703\nStatus: FAILED\n\nFrom 'pc45.home'\nBy user 'remirey'\n\nResult:\n{\"localhost\": {\"unreachable\": 0, \"skipped\": 0, \"ok\": 2, \"changed\": 1, \"failures\": 1}}\n",
    "tags": ["ansible", "ansible_report", "test.yml"],
    "isRegion": true,
    "timeEnd": 1514291165000,
    "time": 1514291163000
}
```

Fixes #34225
2018-04-03 18:51:52 -04:00
Goutham Pacha Ravi
4688a09aa8 Update team_netapp (#38015)
Replace gouthampacha with amit0701

amit0701 will help maintain these modules
alongside hulquest lmprice and broncofan.
2018-03-28 10:33:35 +01:00
Loïc Blot
449e400ffe Remove myself from vmware maintainers (#37928) 2018-03-26 22:27:51 +02:00
John R Barker
da2bcf4f6a
kedarX has left the building (#37636) 2018-03-20 10:23:50 +00:00
Benjamin
7328c94268 Add turb as maven_artifact maintainer (#37424)
and flag chrisisbeef as ignored, because he has been inactive for many months already.
2018-03-15 14:01:31 +10:00
Sam Doran
5de7c9ce8f Add me as VyOS and EdgeOS maintainer (#37130) 2018-03-07 19:10:12 +00:00
René Moser
80217f64e2 botmeta: new cloudstack maintainer (#37081) 2018-03-06 13:00:05 -05:00
Dag Wieers
858d10a91a
Clean up VMware BOTMETA and author/license info (#36873)
* Clean up vmware BOTMETA

This removes everything that's already part of the module docs. So
basically the BOTMETA file only extends the information from the module.

* Updated author information and copyright statement
2018-03-02 01:07:17 +01:00
AlanCoding
fe10685b01 Add more maintainers to team_tower 2018-03-01 12:15:57 -08:00
Claes Nästén
cf6726397e Add tbjurman to team_nso (#36861) 2018-03-01 09:09:42 +10:00
Deepak Agrawal
5a295162ab
Add gdpak to networking team (#36822) 2018-02-28 12:20:59 +05:30
John R Barker
e00406740f
BOTMETA: label:docs (#36757)
Don't use different labels for docs, that's what is:pr and is:issue is
for.

Discussed and approved by dharmabumstead

Makes it easier to do label:docs label:networking to find all issues
and PRs
2018-02-27 12:03:24 +00:00
Claes Nästén
b61b4bef11 Update team_nso members (#36652) 2018-02-26 13:17:44 +00:00
Dag Wieers
215c80f9dc
Add meraki 2018-02-26 01:14:07 +01:00
Dag Wieers
984bface14
Remove $team_ansible refs covered by $team_windows 2018-02-25 18:58:33 +01:00
Dag Wieers
141d638e59
Typo in github handle :-/ 2018-02-25 16:47:38 +01:00
Dag Wieers
07e8fb5dbb
Windows: Clean up documentation (#36684)
This PR includes:
- Further cleanup of BOTMETA.yml
- Cleanup of author github handles
- Use of proper booleans
- One-line license statement
- Copyright format statement
- Smaller cleanups
2018-02-25 03:09:54 +01:00
Dag Wieers
4ab96722cf
Clean up $aci_team and Windows stuff
This should get rid of most of the implicit Windows stuff.
2018-02-24 23:19:03 +01:00
John R Barker
ea1f5e59d3
Notify acozine & gundalow on Network Docs (#36655)
Now we have a docs directory notify and add labels on any network docs
PRs
2018-02-23 20:17:19 +00:00
Toshio Kuratomi
508a9c20dc Notify cyberark-bizdev for cyberark plugin and module tickets. 2018-02-21 09:11:54 -08:00
Matt Clay
ab2151858e Add notify entries for files & dirs in BOTMETA. 2018-02-13 11:44:07 -08:00
Jean-Philippe Evrard
9f9bfd819f Add etcd3 to botmeta (#35824)
The etcd3 module should have a corresponding entry in BOTMETA.
2018-02-07 10:18:00 +01:00
Russell Teague
c37b997abc Update BOTMETA for VMware maintainers (#35609) 2018-02-02 11:20:52 -05:00
Eike Frost
984edacd2a New module: keycloak_clienttemplate (#33419)
* keycloak_clienttemplate

* BOTMETA maintainership for identity/keycloak namespace

* fix superfluous blank line

* catch ValueError when trying to decode JSON

* further documentation for protocol mappers and some checks

* whitespace fixes, YAML fixes

* remove state: dump, update argument_spec and documentation with suboptions

* add documentation for realm option

* document aliases for auth_keycloak_url, auth_username, and auth_password (i.e. url, username, and password)

* remove bearer_only, consent_required, standard_flow_enabled, implicit_flow_enabled, direct_access_grants_enabled, service_accounts_enabled, public_client, and frontchannel_logout from module options.
2018-01-31 13:12:53 +00:00
Sloane Hertel
b1a6f1f47b
remove simplesteph from module maintainers (#35407) 2018-01-26 15:33:56 -05:00
Peter Sprygada
3f556f2e37
adds infoblox dynamic inventory script (#35328)
* adds infoblox dynamic inventory script

* fix up issues from sanity testing

* fix pep8 issues
2018-01-25 14:29:11 -05:00
Peter Sprygada
21169b2228 adds two new infoblox lookup plugins (#35189)
* adds two new infoblox lookup plugins

* nios - lookup plugin to return nios objects to the playbook
* nios_next_ip - lookup plugin to return the next avaiable ip address

* adds some additional examples to nios lookup

* fix up pep8 failures

* updates in response to review comments
2018-01-24 13:28:21 +00:00
Jason Vanderhoof
7c8e365dff Conjur Lookup Plugin (#34280)
* Imported lookup plugin from Role

* Plugin cleanup, including:
* Use existing Python YAML parsing
* Remove environment variables as connection options
* Added initial debugging information

* Reworked the lookup plugin using the Python Request library.  As it's available through Ansible, it makes communication with Conjur much more straight forward.

* Removed un-used libraries

* Fixed linting issues

* Standardized output on `format` and insure it works for 2.6, 2.7, and 3.x.

* Use quote_plus from the six library for improved python 2/3 behavior.

* Refactored identity & configuration to prefer user's file. This also includes a refactor to remove an un-needed dictionary merge method.

* Removed `requests` in favor of `ansible.module_utils.urls`.

* Refactored netrc loading to warn if host is not present.

* Tests and a refactor to support easier testing.

* Added reference to website

* Fixed two linting errors

* Fixed an extra line found by linting

* Updated file write to use binary to insure config files are written correctly

* Resolved linting issues

* Refactored config & identity loading to take advantage of plugin options

* Cleanup a bunch of small items caught by linting

* Removed extra line caught by linting

* Swapped in pytest and added some tests with mocked network responses

* Pushing to see if this approach works better...

* Refactored be open_url mocking based on feedback

* Fixed a couple linting issues & refactored mocking into each method to attempt to resolve a failing test

* Use a generic MagicMock for python 2.6

* Fixes doc typo

require -> required

* Use `type: path` in identity_file and config_file

Also removes `expanduser` calls below (which will now be called automatically on
paths.)

* Defines maintainers for conjur_variable plugin

* BOTMETA.yml:
** defines $team_cyberark_conjur as maintainers of Conjur Variable plugin
** adds myself and @jvanderhoof to that team

* Adds URLs to relevant documentation for Conjur Variable lookup plugin

* Clarifies "the server," "the machine" -> "controlling host"

The machine identity used is that of the Ansible controlling host, not any
server being provisioned or instructed. This documentation change aims to make
that relationship clear.

* Adds response code to exception message on authentication failure

* Enhances exception messages to specify the controlling host

These error messages are less likely to confuse a user as to which machine is
associated with the files, identities, and configurations being described.

* Adds ANSIBLE_METADATA for Conjur variable lookup plugin
2018-01-23 10:04:57 -06:00
jctanner
3116585ae4
Ignore previous acl.py maintainer and also remove myself from docker* modules (#35216) 2018-01-23 10:08:16 +01:00
John R Barker
7228755f00 infoblox (#35179)
Even though this module belongs in net_tools it will be managed by the
network team.
2018-01-22 08:25:06 -05:00
Xavier Cambar
cea681a5c0 npm module compatible with npm5 (#26582)
* npm module compatible with npm5

Uses the `--long` flag in `npm list` to get the `missing` key back.

* npm: add integration tests

* npm: test the module with npm 4 as well

* Remove debug tasks, use variables

* Use tests instead of filters

* Adds xcambar as a maintainer of the npm module
2018-01-19 15:47:43 +01:00
René Moser
6bed4d6ef3 botmeta: new maintainer for letsencrypt (#34954) 2018-01-16 12:13:34 -08:00
Adam Miller
8f1ab70cf2 add lib/ansible/plugins/connection/lxd.py maintainer in BOTMETA.yaml (#34936)
* add lib/ansible/plugins/connection/lxd.py maintainer in BOTMETA.yaml

Signed-off-by: Adam Miller <admiller@redhat.com>

* github nick change for trstringer on team_azure in BOTMETA

Signed-off-by: Adam Miller <admiller@redhat.com>
2018-01-16 16:05:49 +00:00
Samer Deeb
f8884f12bc Mellanox OS name change: MLNXOS changed to ONYX (#34753)
* Mellanox OS name change: MLNXOS changed to ONYX

Signed-off-by: Samer Deeb <samerd@mellanox.com>

* Fix alphabetical order of modules metadata

Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-11 22:21:17 +00:00
Andreas Olsson
185f28ecee Add andreaso (me) as cloudflare_dns module maintainer (#34743) 2018-01-11 17:54:51 +00:00
Pilou
e9e316c76b Filesystem: refactor, improvements, add tests (#25519)
* filesystem: list used tools

* filesystem: btrfs and reiserfs don't support resizing

* filesystem: list supported filesystems

use formatting functions and 'filesystem' instead of 'file system'

* filesystem: PEP8

* filesystem: remove useless calls to module.boolean

* filesystem: fail when the requested action isn't implemented

* filesystem: resizefs: list supported FS rather than unsupported

* filesystem: refactor

* filesystem: add integration tests

* filesystem: allow to use image file with 'dev' param

* filesystem: test resizefs (ext2/3/4 filesystems only)

* filesystem: Btrfs, handle older version than v0.20-rc1

* filesystem: use loop keyword (integration tests)

* filesystem: new test, check when another filesystem already exists

* filesystem: add myself as a maintainer

* filesystem: fix tests as filters
2018-01-11 11:10:14 -05:00
Dag Wieers
76586cfd0b
Added to UCS team 2018-01-07 20:33:46 +01:00
Ryan S. Brown
f0dbbfae84 Add Alex (rambleraptor) and Eric (erjohnso) as GCP module namespace maintainers 2018-01-04 07:45:29 -05:00
Tim Rupp
43812d82c1
Adds "allow" param to bigip_device_httpd (#34439)
This param can control what addresses are allowed to access the
httpd ui of the bigip
2018-01-03 20:58:22 -08:00
Samer Deeb
67ebf2d4b2 update mlnxos modules in BOTMETA file (#34417)
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-03 20:25:49 +00:00
Matt Davis
f1c2861308
Tweak WinRM/Windows maintainer stuff 2018-01-03 11:08:46 -08:00
Abhijeet Kasurde
a4336feadc Remove 'astorije' from bot ping (#34338)
As per request - https://github.com/ansible/ansibullbot/issues/838
removing 'astorije' from maintainers list.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-01-02 12:33:50 -05:00
Flavio Percoco Premoli
87c98336d6 Fix module names for bot (#34089) 2017-12-21 13:37:21 +10:00
Rene Moser
bee26f214b botmeta: maintain vultr modules 2017-12-20 21:15:57 +01:00
Andy Hill
427479ae48 remove andyhky from maintainers (#34096)
* remove andyhky from maintainers

I'm no longer able to contribute to ansible.

* Explicitly ignore andyhky for modules with that user as an author
2017-12-20 12:48:41 -06:00
Flavio Percoco Premoli
a73af903b8 Add maintainers for k8s_common, k8s and openshift (#34018) 2017-12-19 08:16:25 -06:00
Dag Wieers
08d55a7dbc
Add brunocalogero to the ACI team 2017-12-15 17:16:05 +01:00
Sloane Hertel
a52fb20b54
Fix elasticdog removal since he is listed as an author in the module docs (#33713) 2017-12-11 16:06:29 -05:00
Toshio Kuratomi
363dfcb24c Revert "Disable automerge while working on pep8"
This reverts commit 87776d75dc.
2017-12-07 19:42:51 -08:00
John R Barker
87776d75dc
Disable automerge while working on pep8 2017-12-07 19:00:19 +00:00