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

63 commits

Author SHA1 Message Date
Alexei Znamensky
e3fcc7de2a
Adding module_utils/module_helper.py + big revamp in xfconf.py to use it (#1322)
* Big revamp in xfconf.py

- added plugin/module_utils/module_helper.py
  - scaffold class for writing modules, beyond standard AnsibleModule
  - automatic capture of exceptions
  - easier dependency testing
  - StateMixin to easily handle different behaviours for 'state' param
  - CmdMixin to easily run external commands
- adapted test_xfconf.py
  - the args for run_command are now lists instead of a string
  - value and previous_value were not being tested before (because xfconf wasn't filling results - see below)
  - added more tests: setting value to previous_value, getting non-existent property
- rewritten xfconf module, keeping the same results
  - original module posted results as ansible_facts, this version still does it for compatibility, but also adds to the module result

* Added suggestions from the PR

* Added russoz as maintainer for the module_utils/module_helper.py file

* Formatting using printf-style requires special treatment

Strings not containing substitution tokens must work as well.

* Tidied up variables in module definition

* Tests with ArgFormat and DependencyCtxMgr

* pytest parameters must be in the same order, it seems

* improved testing for the DependencyCtxMgr

* fixed test for older pythons

* Moved changed property to improve readability

* Added testcase for state: absent and adjusted xfconf after it

* Fixed param name environ_update in run_command()

* added changelog fragment

* fixed tests after run_command param change
2020-11-20 11:27:53 +01:00
Alexei Znamensky
2ebf2861b6
BOTMETA.yml - setting aix modules for team_aix (#1330)
* BOTMETA.yml - setting aix modules for team_aix

* simplification per PR suggestion
2020-11-20 07:39:04 +01:00
Andrew Klychkov
a9346f0e68
BOTMETA.yml: add a maintainer of pagerduty_change module (#1287) 2020-11-13 12:59:51 +01:00
Andrew Klychkov
4ea632b4e5
BOTMETA.yml: add a new maintainer of filesystem module (#1276) 2020-11-13 06:16:21 +01:00
Andrew Klychkov
2b0f7b858e
BOTMETA.yml: add a new maintainer of parted module (#1254) 2020-11-10 11:09:42 +01:00
Andrew Klychkov
6ecc95980d
BOTMETA.yml: add a maintainer for syslog_json (#1252) 2020-11-09 12:43:08 +03:00
Andrew Klychkov
fbc56c5a1d
Remove 'authors' from BOTMETA.yml (#1203)
* Remove 'authors' from BOTMETA.yml

* fix

* fix suggested
2020-11-01 20:24:20 +01:00
Alexei Znamensky
7f5c668433
added russoz as maintainer of xfconf (#1198) 2020-10-30 06:18:21 +01:00
Felix Fontein
86b7efaf06
Add snopoke as monit maintainer. (#1164) 2020-10-23 14:27:10 +02:00
Andrew Klychkov
0f00c65d2c
Update BOTMETA.yml (#1132) 2020-10-21 10:22:04 +02:00
Felix Fontein
55629b311a
Make sure frenck is no longer accidentally contacted (#1133)
* Make sure frenck is no longer accidentally contacted.

* More precise.

frenck explicitly requested in https://github.com/ansible-collections/community.general/pull/358
to not be contacted about this module ("I don't use Ansible anymore. Haven't contributed in years
and don't plan on doing so." / "I'm no supporting this module or project anymore.").
2020-10-20 13:43:19 +02:00
Andrew Klychkov
6c1d014044
Update BOTMETA.yml (#1122) 2020-10-19 16:27:49 +03:00
Felix Fontein
a1b7949fa5
Add briantist as a maintainer for the hashi_vault lookup. (#1111) 2020-10-17 09:55:47 +02:00
Andrew Klychkov
72a1e805b4
BOTMETA.yml cleanup (#1057)
* BOTMETA.yml cleanup
2020-10-16 19:11:10 +01:00
Andrew Klychkov
ee34fdb4ac
Update BOTMETA.yml (#1019)
* Update BOTMETA.yml

* Update .github/BOTMETA.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
2020-09-30 16:33:06 +02:00
Andrew Klychkov
097c609aab
postgresql modules: fix BOTMETA.yml (#1000) 2020-09-29 13:44:11 +03:00
Andrew Klychkov
fbe66994a1
django_manage module: add new maintainers (#974)
* django_manage module: add new maintainers

* fix
2020-09-29 10:24:20 +03:00
Felix Fontein
71bbabb96f Fix config key/value pairs. 2020-09-28 20:53:57 +02:00
Andrew Klychkov
564a625603
PostgreSQL team: add a new maintainer (#976) 2020-09-28 20:51:24 +02:00
Sviatoslav Sydorenko
c173d4d5bc
Add initial Patchback config (#981) 2020-09-28 20:35:16 +02:00
Felix Fontein
a353202716
Add tgoetheyn as maintainer for nagios module. (#969) 2020-09-28 08:19:51 +02:00
Andrew Klychkov
7613e0fb04
Add new members to gitlab team (#946)
* Add a member to gitlab team

* add
2020-09-23 09:33:16 +01:00
Abhijit Menon-Sen
5e8b27a224
Remove amenonsen from maintainer lists (#943) 2020-09-21 10:42:15 +01:00
Andrew Klychkov
10fb2ffe5d
BOTMETA.yml: add a new team member to team_virt (#871) 2020-09-08 09:58:21 +01:00
Bill Dodd
88893b8204
disable notifications for jose-delarosa (#832) 2020-08-26 06:13:21 +02:00
DenBeke
d2d4997fa8
bot: remove from team (#742) 2020-08-06 16:53:25 +02:00
Bill Dodd
0f6bf38573
remove jose-delarosa - new job (#691) 2020-07-24 23:36:55 +02:00
Adam Miller
64c4548b7f
migrate firewalld to ansible.posix (#623)
* migrate firewalld to ansible.posix

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

* fix removal_version for runtime.yml

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

* add changelog fragment

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

* Update meta/runtime.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update changelogs/fragments/firewalld_migration.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* add module_util routing entry

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

* Update meta/runtime.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
2020-07-16 22:21:22 +02:00
Ben Mildren
f420e8f02e
Migrating MySQL to community.mysql (#633)
* Migrating MySQL to community.mysql

* Added PR to changelog

* Removed missed tests

* Removed missed changelog fragments

* Update meta/runtime.yml

Co-authored-by: Ben Mildren <bmildren@digitalocean.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-07-10 18:54:04 +02:00
Felix Fontein
c1b5b51366
Remove DigitalOcean modules (moved to community.digitalocean) (#622)
* Remove DigitalOcean modules.

* Remove inventory scripts.
2020-07-07 16:41:16 +02:00
Ben Mildren
25aec0d712
migrating ProxySQL to community.proxysql (#624)
* migrating ProxySQL to community.proxysql

* Added PR to changelog

* Removed symlinks, fixed grammer in changelog fragment

* Fixed typo

* Added redirects to meta/runtime.yml

* Added docs_fragment redirect to meta/runtime.yml

Co-authored-by: Ben Mildren <bmildren@digitalocean.com>
2020-07-07 13:38:54 +01:00
John R Barker
c5f0c34190
codeql-analysis.yml cron 2020-07-06 20:24:45 +01:00
John R Barker
24c66fcc43
Create codeql-analysis.yml 2020-07-06 20:19:31 +01:00
Daniel Poggenpohl
11300507d0
- removed danowar2k from team_solaris (no time) (#595) 2020-06-28 09:01:44 +02:00
Felix Fontein
5269213907
Deprecate logicmonitor and logicmonitor_facts (#541)
* Deprecate logicmonitor and logicmonitor_facts.

* Remove modules instead of deprecating them.

* Remove bad entry from BOTMETA.

* Remove ignore.txt entries.
2020-06-23 15:55:59 +02:00
Andreas Olsson
e78ac2849f
Remove andreaso from cloudflare_dns maintainership (#542)
Lack of time, motivation, etc
2020-06-19 16:35:56 +02:00
René Moser
ffd107db4d
dedicated collection for exoscale.com related plugins (#519) 2020-06-16 19:19:06 +02:00
René Moser
e5bb9dab9d
cloudscale migrated to cloudscale_ch.cloud (#517) 2020-06-16 17:12:47 +02:00
John R Barker
e4522e1517
Update settings.yml 2020-06-16 15:32:32 +01:00
John R Barker
287abb749c
settings.yml extend gh/a-c/.github repo 2020-06-16 14:26:12 +01:00
majekw
647abcb390
Fix modules/packaging/os/pkg5 authors/maintainers in BOTMETA.yml (#471) 2020-06-07 12:37:15 +01:00
Felix Fontein
6bb6089999
Remove more remains of intersight_info. (#396) 2020-05-22 07:59:41 +02:00
Łukasz Tomaszkiewicz
91d4d9d8c6
Remove tomaszkiewicz from ansibullbot notifications (#242)
* Remove tomaszkiewicz from ansibullbot notifications

* Move ignore to correct position, remove from authors list in BOTMETA.

Co-authored-by: Felix Fontein <felix@fontein.de>
2020-05-13 08:36:14 +02:00
Joshua Conner
2e60bdcdfe
BOTMETA: ignore joshuaconner for docker_container module (#321)
* BOTMETA: ignore joshuaconner for docker_container module

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: John R Barker <john@johnrbarker.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-05-12 15:16:31 +01:00
John R Barker
3552db1cac
Update BOTMETA.yml 2020-05-07 19:29:52 +01:00
John R Barker
a23e531bdb
BOTMETA: Add team_networking 2020-05-07 19:29:00 +01:00
John R Barker
b1308f3404
BOTMETA: Remove aruba 2020-05-07 19:26:38 +01:00
John R Barker
f340b39bb9
Tidyup deprecations (#195)
* Tidyup deprecations

* Collections don't use a leading `_` for deprecation, they use
routing.yml instead
* Remove left over network entries

* ignore.txt

* botmeta

* review feedback

* ignore:check_matrix

* remove duplicated keys
2020-05-07 14:22:47 +02:00
John R Barker
25684ce2d7
botmeta nios lookup (#206) 2020-04-18 10:15:46 +01:00
John R Barker
5424c47d2f
changelogs, units & integration tests are community 2020-04-17 11:40:53 +01:00