Commit graph

61 commits

Author SHA1 Message Date
gardar
ca1b7e95aa
fix: writable token in all pull request workflows
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-24 08:42:30 +00:00
gardar
bad0cc89fc
fix: use workflow trigger that gives writable token
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-23 18:25:01 +00:00
Ben Kochie
4c2d82f8bb
Merge pull request #26 from gardar/ci/changelog
feat: semantic releases and automatic changelog.
2023-02-23 18:22:07 +01:00
gardar
779c4f4abd
fix: don't auto publish releases
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-23 12:05:43 +00:00
gardar
620acbb7de
fix: support feature label
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-23 10:55:13 +00:00
gardar
cb5c6c435d
fix: use antsichaut from upstream
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-21 12:14:14 +00:00
gardar
ecd7cb265d
feat: auto label PR's with conventional commits
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-17 19:13:22 +00:00
gardar
24aa8019c3
fix: avoid ansible galaxy timeout errors in ci
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-17 18:54:03 +00:00
gardar
fefb760ae3
fix: avoid running tests after merge/release
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-17 18:53:28 +00:00
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