Skip to content

Modernization rewrite V2#18

Open
pid1 wants to merge 16 commits intonetdata:masterfrom
pid1:full-rewrite-v2
Open

Modernization rewrite V2#18
pid1 wants to merge 16 commits intonetdata:masterfrom
pid1:full-rewrite-v2

Conversation

@pid1
Copy link
Contributor

@pid1 pid1 commented Mar 10, 2026

This is a re-implementation of #16 with a clean commit history and addressing the feedback in the prior PR.

pid1 added 8 commits December 6, 2024 15:36
Remove legacy multi-role structure (roles/, molecule/, claim.yml, purge.yml,
netdata-agent.yml, .ansible-lint, group_vars/, host_vars/).

Implement single-role layout supporting Debian, Ubuntu, and OpenSUSE with
CI workflows for linting and integration testing.

Address all review feedback from netdata#16:
- Restore trailing period in CODEOWNERS comment
- Remove .gitignore per reviewer agreement
- Rename netdata_release_version to netdata_release_channel with nightly->edge mapping
- Move role version from defaults to meta/main.yml as 0.1.0
- Add explicit GPG key ID to apt_key task
- Replace restart handler with netdatacli reload-claiming-state for claims
- Remove default insecure=no from claim.conf.j2
- Remove redundant enable_all_charts charts.d.conf task
- Consolidate install-ubuntu.yml into install-debian.yml
- Remove empty vars/main.yml
The ansible-lint schema[meta] rule does not allow 'version' inside
galaxy_info. Move the field to the root level of meta/main.yml to
satisfy the reviewer's request while passing lint validation.
Rewrite README.md with accurate platform support (adds Ubuntu, openSUSE), structured usage examples, complete role variables table, and release channel documentation.
@pid1 pid1 requested a review from a team as a code owner March 10, 2026 23:15
@pid1 pid1 mentioned this pull request Mar 10, 2026
pid1 added 8 commits March 10, 2026 19:01
…s/checkout to v6

Remove the top-level 'version' key from meta/main.yml, which is not a valid
RoleMetadata attribute and caused all integration test jobs to fail with exit
code 4. Update actions/checkout from v4 to v6 in both workflow files to
resolve Node.js 20 deprecation warnings.
Install community.general collection explicitly in the opensuse-test CI
job, since the openSUSE Leap ansible package does not always bundle it.

Remove the Tumbleweed-specific netfilter repository task from
install-opensuse.yml. The hardcoded Tumbleweed URL is invalid for Leap
systems and caused connection failures. The libnetfilter_acct1 package
is available from the standard Leap repositories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant