Skip to content

Make grafana_agent Idempotent #146

Make grafana_agent Idempotent

Make grafana_agent Idempotent #146

Triggered via pull request September 7, 2023 07:17
Status Failure
Total duration 1m 3s
Artifacts

lint.yaml

on: pull_request
Perform Linting
52s
Perform Linting
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 6 warnings
Perform Linting
Process completed with exit code 2.
Perform Linting: changelogs/changelog.yaml#L18
18:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L27
27:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L48
48:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L57
57:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L60
60:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L62
62:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L69
69:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L75
75:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L81
81:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L88
88:7 [indentation] wrong indentation: expected 8 but found 6
load-failure[filenotfounderror]: ga-started.yml#L1
[Errno 2] No such file or directory: '/home/runner/work/grafana-ansible-collection/grafana-ansible-collection/ga-started.yml'
risky-file-permissions: roles/grafana/tasks/configure.yml#L88
File permissions unset or incorrect.
jinja[invalid]: roles/grafana/tasks/datasources.yml#L28
to_nice_yaml - 'grafana_datasources' is undefined. 'grafana_datasources' is undefined
jinja[invalid]: roles/grafana/tasks/notifications.yml#L4
to_nice_yaml - 'grafana_alert_notifications' is undefined. 'grafana_alert_notifications' is undefined
command-instead-of-shell: roles/grafana_agent/tasks/ga-started.yaml#L17
Use shell only when shell functionality is required.
fqcn[action-core]: tests/integration/targets/alert_notification_policy/tasks/main.yml#L13
Use FQCN for builtin module actions (assert).
Perform Linting: tests/integration/targets/alert_notification_policy/tasks/main.yml#L1
1:1 [document-start] missing document start "---"
Perform Linting: changelogs/changelog.yaml#L1
1:1 [document-start] missing document start "---"
Perform Linting: changelogs/.plugin-cache.yaml#L1
1:1 [document-start] missing document start "---"
Perform Linting: roles/grafana/vars/distro/debian.yml#L2
2:151 [line-length] line too long (154 > 150 characters)
Perform Linting: roles/grafana/defaults/main.yml#L13
13:151 [line-length] line too long (159 > 150 characters)
jinja[spacing]: roles/grafana_agent/tasks/install/user-group.yaml#L32
Jinja2 spacing could be improved: {{ [ grafana_agent_user_group ] + grafana_agent_user_groups }} -> {{ \[grafana_agent_user_group] + grafana_agent_user_groups }}