Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for 'str object' has no attribute 'name' #61

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fix lint issues
  • Loading branch information
silviuvulcan committed Aug 16, 2022
commit 02944decf498626f2c2c8ae0bb912324c440ba18
10 changes: 10 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
warn_list:
- '106'
- '503'
- experimental
skip_list:
- risky-file-permissions
- 'role-name'
- 'fqcn-builtins'

33 changes: 33 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
# Based on ansible-lint config
extends: default

rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
colons:
max-spaces-after: -1
level: error
commas:
max-spaces-after: -1
level: error
comments: disable
comments-indentation: disable
document-start: disable
empty-lines:
max: 3
level: error
hyphens:
level: error
indentation: disable
key-duplicates: enable
line-length: disable
new-line-at-end-of-file: disable
new-lines:
type: unix
trailing-spaces: disable
truthy: disable
21 changes: 11 additions & 10 deletions meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
---
dependencies: []

galaxy_info:
role_name: telegraf
author: filviu
description: Install and configure Telegraf, the plugin-driven server agent for reporting metrics into InfluxDB. Original by Ross McDonald. Forked to speedup needed fixes and development.
company: InfluxData
license: MIT
min_ansible_version: 1.2
min_ansible_version: "1.2"
platforms:
- name: EL
versions:
- 6
- 7
- "6"
- "7"
- name: Ubuntu
versions:
- jammy
- focal
- bionic
- "jammy"
- "focal"
- "bionic"
- name: Debian
versions:
- bullseye
- buster
- "bullseye"
- "buster"
galaxy_tags:
- monitoring
dependencies: []