Skip to content

Commit

Permalink
Merge pull request #10 from kevincoakley/1.1.2
Browse files Browse the repository at this point in the history
1.1.2
  • Loading branch information
kevincoakley authored May 1, 2021
2 parents e79ce97 + e5dbd3e commit eb9c487
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/molecule-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 4
matrix:
molecule_distro: ['centos7', 'centos8', 'ubuntu1804', 'ubuntu2004']
env:
Expand All @@ -20,7 +21,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ansible-lint flake8 molecule docker
pip install ansible ansible-lint flake8 molecule molecule-docker docker yamllint
ansible --version
ansible-lint --version
molecule --version
- name: Test with molecule
run: |
molecule test --all
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ crashlytics-build.properties
fabric.properties

*.retry

.cache/
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
prometheus_node_exporter_version: 1.0.0
prometheus_node_exporter_version: 1.1.2
prometheus_node_exporter_download_url: https://github.com/prometheus/node_exporter/releases/download/v{{ prometheus_node_exporter_version }}/node_exporter-{{ prometheus_node_exporter_version }}.linux-amd64.tar.gz
prometheus_node_exporter_manage_user: true
prometheus_node_exporter_service_username: node-exp
Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
galaxy_info:
role_name: prometheus-node-exporter
namespace: kevincoakley
author: Kevin Coakley
description: Install Prometheus Node Exporter
# If the issue tracker for your role is not on github, uncomment the
license: BSD
min_ansible_version: 2.2
platforms:
Expand Down
6 changes: 6 additions & 0 deletions molecule/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
warn_list:
- internal-error
- role-name
skip_list:
- yaml
2 changes: 1 addition & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ driver:
lint: |
set -e
yamllint -c molecule/yaml-lint.yml .
ansible-lint
ansible-lint -c molecule/ansible-lint.yml .
flake8
platforms:
- name: instance
Expand Down
3 changes: 3 additions & 0 deletions molecule/yaml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ rules:
line-length:
max: 250
level: warning
truthy:
ignore: |
molecule-test.yml

0 comments on commit eb9c487

Please sign in to comment.