Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #28 from Porkepix/fix-check_mode
Browse files Browse the repository at this point in the history
Fix check mode
  • Loading branch information
paulfantom authored Mar 30, 2018
2 parents 2340ae0 + 7f5ac16 commit a4f8c3b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ We try to provide production ready ansible roles which should be as much zero-co

### Add tests

We try to have as much tests written in testinfra framework as possible, so when you copy file, some template or starting some server just add couple of lines in [/tests/test)default.py](test_default.py) file. If you want to know how to write tests in testinfra, go to their [docs](http://testinfra.readthedocs.io/en/latest/index.html).
We try to have as much tests written in testinfra framework as possible, so when you copy file, some template or starting some server just add couple of lines in [/tests/test_default.py](test_default.py) file. If you want to know how to write tests in testinfra, go to their [docs](http://testinfra.readthedocs.io/en/latest/index.html).

### Follow best practices

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Deploy prometheus [node exporter](https://github.com/prometheus/node_exporter) u
## Requirements

- Ansible >= 2.3
- go-lang installed on deployer machine (same one where ansible is installed)

## Role Variables

Expand Down
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
group: "node-exp"
notify:
- restart node exporter
when: not ansible_check_mode

- name: Install libcap on Debian systems
package:
Expand Down

0 comments on commit a4f8c3b

Please sign in to comment.