Commit graph

154 commits

Author SHA1 Message Date
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
22001797a8
Remove slashes from instructions to avoid confusion 2017-12-15 17:19:04 +01:00
Dag Wieers
3db8b75f35
Remove slashes from instructions to avoid confusion 2017-12-15 17:18:31 +01:00
Dag Wieers
08d55a7dbc
Add brunocalogero to the ACI team 2017-12-15 17:16:05 +01:00
John R Barker
7654195716
Avoid people listing component in comment 2017-12-13 15:47:29 +00:00
Dag Wieers
e76e8aed90
Fix closing tag for COMPONENT NAME, multiline changes 2017-12-13 10:18:37 +01:00
John R Barker
1bb974a917 Link to CoC from PR and Issue creation (#31957)
* Link to CoC from PR and Issue creation

via the builtin GitHub feature

* latest, not devel
2017-12-12 12:02:02 -05: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
Matt Martz
a7e49cde3b
Add some ignores on some namespaces for a few users (#33651) 2017-12-07 11:30:25 -05:00
Kevin Brebanov
4c242ad2e7 Remove myself as apk maintainer (#33546)
* Remove myself as apk maintainer

* Add myself under the 'ignored' key
2017-12-07 11:26:35 +10:00
Eike Frost
7ec692ea7f add Logan2211 to maintainers for zabbix_template (#33627) 2017-12-06 20:14:37 +00:00
Eike Frost
ed376abe42 zabbix_host integration tests (#33184)
* Integration tests for zabbix_host using Zabbix on Ubuntu 14.04.

* fix duplicate yaml key in test

* .changed -> is changed, |failed -> is failed, trim configfile

* zabbix_host integration test does not need BOTMETA entry, inherited from module
2017-12-05 14:29:12 -05:00
Dag Wieers
46f7fadbaf
Add pep8 label for changes to legacy-files.txt 2017-12-05 01:25:04 +01:00
Ganesh Nalawade
11c9ad23d5
Refactor common network shared and platform utils code into package (#33452)
* Refactor common network shared and platform specific code into package (part-1)

As per proposal #76 refactor common network shared and platform specific
code into sub-package.
https://github.com/ansible/proposals/issues/76

*  ansible.module_utils.network.common - command shared functions
*  ansible.module_utils.network.{{ platform }} - where platform is platform specific shared functions

*  Fix review comments

* Fix review comments
2017-12-03 21:42:30 +05:30
John R Barker
390a17f0eb
Update ISSUE_TEMPLATE.md 2017-11-30 13:19:07 +00:00
Matt Davis
96b4f8b5c3
Update BOTMETA.yml 2017-11-21 14:17:12 -08:00
René Moser
ddaf8673b9 botmeta: letsencrypt: add me as a maintainer (#33041) 2017-11-20 12:03:06 -05:00
Adrian Likins
1a2eb319fe Fix 'maintainers' key in BOTMETA for 'unixy' 2017-11-17 12:36:04 -05:00
Dag Wieers
3fee14a49b
I cannot keep up with all VMware related issues 2017-11-16 14:58:29 +01:00
Matt Davis
6506c4bfbc update azure maintainers list 2017-11-15 16:53:23 -08:00
John R Barker
af0d42885d
Remove GGabriele jedelman8 2017-11-15 14:37:16 +00:00
Brian Coca
992f6d8bf4 unixy maint info 2017-11-14 09:39:21 -05:00
Matt Martz
701b38ff62
Remove angstwad at his request, remove myself from things I no longer maintain (#32865) 2017-11-13 15:36:13 -06:00
John Whitbeck
a1ea29f249 Remove jwhitbeck from BOTMETA (#32751) 2017-11-09 12:16:19 -05:00
Ivan Vanderbyl
e0cb54a2aa Remove myself from bot (#32574)
Remove myself (ivanvanderbyl) from bot
2017-11-09 14:09:28 +00:00
cnasten
f1fe467c22 nso_config module for setting configuration in Cisco NSO (#30973) 2017-11-09 13:34:41 +00:00
ABond
dbfe22ac4f Add Digital Ocean inventory script maintainer and tagged support by community (#30801) 2017-11-03 14:24:54 -04:00
John R Barker
1c0dd5406b
label nxos files (#32200) 2017-11-02 12:15:20 +00:00
Matt Davis
7db28d5e4d
add new MS maintainers to team_azure 2017-10-31 17:07:29 -07:00
Sloane Hertel
70c58e74ab Remove elasticdog from pacman module maintainers. (#32051) 2017-10-23 13:49:51 -04:00