Commit graph

52 commits

Author SHA1 Message Date
gardar
918e7863fd
feat: add ci workflow for auto generating changelog
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-17 18:51:36 +00:00
gardar
36966a1528
fix: add collection changelog
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-17 18:44:34 +00:00
Ben Kochie
5f93f50d00
Merge pull request #17 from gardar/ci/testing
feat: role/collection testing with ansible-test and molecule
2023-02-01 19:11:31 +01:00
gardar
c664e6320c
fix: add ansible-lint config
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-14 01:57:56 +00:00
gardar
4eace3831e
fix: avoid hitting api rate limit in lookups
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-14 01:00:49 +00:00
gardar
f2737df195
feat(ci): only run molecule test against changed roles
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-13 01:38:53 +00:00
gardar
fc426d4d8e
feat(ci): avoid defining supported ansible versions by discovering them from collection
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-13 01:36:41 +00:00
gardar
d2ff013bb3
feat(ci): add workflow for running ansible-test and molecule
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:55:24 +00:00
gardar
c29734e418
feat: add ansible-test integration test for executing molecule
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:53:03 +00:00
gardar
3227cf01ec
fix: future-import-boilerplate and metaclass-boilerplate
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:50:51 +00:00
gardar
cac0f68ca2
fix: use dokken containers for molecule
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:47:59 +00:00
gardar
59eb8438fa
fix: role test requirements
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:45:10 +00:00
gardar
39213cfd13
fix: copy module supports content param, not template module
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:42:15 +00:00
gardar
77388aa56b
fix: avoid false idempotence with capabilities module
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:40:03 +00:00
gardar
364d06f294
refactor: combine molecule config
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:37:31 +00:00
gardar
92f54b4ae7
fix: remove unneeded prepare playbooks
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:30:37 +00:00
gardar
3c9df6fae7
fix: use fcqn for role names
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:27:47 +00:00
gardar
4efb8fe813
fix: use default playbook for converge
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:17:30 +00:00
gardar
77da7ab60c
style: add yamllint exception like ansible-lint
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:07:48 +00:00
gardar
310c1e68cf
style: fix lint
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:05:01 +00:00
gardar
1b3f19e2be
fix: avoid spaces when doing line breaks on long urls
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 18:58:59 +00:00
Ben Kochie
1e41dec0dc
Merge pull request #10 from cudevmaxwell/issue-9
node_exporter: Change command parameters for ansible 2.14 compatibility
2022-12-24 20:34:23 +01:00
Ben Kochie
bed08e8a45
Merge pull request #12 from cudevmaxwell/issue-11
node_exporter: Fix broken config file CLI flag name
2022-12-24 18:47:28 +01:00
Ben Kochie
4d73260d46
Merge pull request #14 from cudevmaxwell/issue-13
node_exporter: Support filesystems mounted under '/home'
2022-12-24 18:46:45 +01:00
Kevin Bowrin
5d47937e3b
node_exporter: Support filesystems mounted under '/home'
Set systemd's ProtectHome to 'read-only' instead of
'yes' if there exists filesystems which are mounted
at or under '/home', instead of at '/home' exclusively.

Fixes #13.

Signed-off-by: Kevin Bowrin <kevinbowrin@cunet.carleton.ca>
2022-12-23 16:08:26 -05:00
Kevin Bowrin
ec6c857129
Remove warn for Ansible 2.14 compatibility
Remove unnecessary warn parameter. Fixes #9.

Signed-off-by: Kevin Bowrin <kevinbowrin@cunet.carleton.ca>
2022-12-23 15:08:57 -05:00
Kevin Bowrin
3fb29ee4b8
Fix broken config file CLI flag name
Fixes #11.

Uses a version test to ensure backwards compatibility.

Signed-off-by: Kevin Bowrin <kevinbowrin@cunet.carleton.ca>
2022-12-23 14:15:07 -05:00
Ben Kochie
f3449e2df2
Merge pull request #8 from gardar/fix-params
fix: fqcn in module params
2022-12-17 18:55:01 +01:00
gardar
8f326b6162
fix(lint): no need to run_once when only running against one host
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-12-08 18:02:14 +00:00
gardar
b2d9aa565a
fix: lint
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-12-08 18:02:13 +00:00
gardar
8c9a456880
fix: fqcn slipped in as module parameters
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-12-08 18:02:13 +00:00
Ben Kochie
ebc4f242ec
Merge pull request #3 from prometheus-community/superq/lint
Add ansible-lint to CI
2022-11-25 09:11:21 -08:00
Ben Kochie
43cf36e64d
Merge pull request #6 from gardar/gardar/lint
Fix linting issues
2022-11-25 09:08:48 -08:00
gardar
38cb9b0771
fix(ci): colored output
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:18 +00:00
gardar
e04ca0a271
test(ci): check if collections path env var is needed
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:18 +00:00
gardar
2529617e41
fix(lint): fix all linter exceptions and remove exception rules
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:18 +00:00
gardar
2c075e3b15
fix(lint): warning lint errors
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:18 +00:00
gardar
e99b807340
fix(lint): fatal lint errors
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:17 +00:00
gardar
eebe082cc3
fix(molecule): rename deprecated crypto modules
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:17 +00:00
gardar
45cd0a52c5
refactor(ci): move collection dependencies to where ansible knows to pick it up
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:17 +00:00
gardar
e37f7fe8d7
fix(ci): lint action got moved from ansible-community
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:17 +00:00
SuperQ
1d98aee69a
Fix up ansible-lint issues.
Signed-off-by: SuperQ <superq@gmail.com>
2022-09-24 10:55:09 +02:00
SuperQ
40e2463752
Add ansible-lint to CI
Signed-off-by: SuperQ <superq@gmail.com>
2022-09-23 14:41:02 +02:00
Ben Kochie
a9f53074e1
Merge pull request #5 from paulfantom/publish
publish development releases and artifacts
2022-09-23 14:40:37 +02:00
Paweł Krupa (paulfantom)
f26bb1b100 publish development releases and artifacts
Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl>
2022-09-23 14:40:11 +02:00
Paweł Krupa
a1e10429f7
Merge pull request #4 from prometheus-community/superq/maintainers 2022-09-23 13:34:47 +02:00
SuperQ
8d03e1f134
Add maintainers file.
Signed-off-by: SuperQ <superq@gmail.com>
2022-09-23 13:34:05 +02:00
Ben Kochie
0be6b43394
Merge pull request #2 from paulfantom/init
initial migration of roles from cloudalchemy
2022-09-23 13:31:17 +02:00
Paweł Krupa (paulfantom)
dcfbfa84d2 initial migration of roles from cloudalchemy
Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl>
2022-09-23 13:29:55 +02:00
Ben Kochie
35aceab5d3
Merge pull request #1 from prometheus-community/repo_sync
Synchronize common files from prometheus/prometheus
2022-09-20 21:50:53 +02:00