diff options
author | Gaƫtan <36162164+gaetanfl@users.noreply.github.com> | 2021-11-03 10:33:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 10:33:24 +0100 |
commit | 9f55450f44645d9479bdbb2b9209c566f26e4d10 (patch) | |
tree | 80131ed79f1b6233db736dfc223d7dfa2de73207 /molecule/features/prepare.yml | |
parent | d533407af1f4e5d55bb778fabf4b9b0d9bb1ed56 (diff) | |
parent | ffadb834d15c8bff62cb4133d5b5156e5dfef55b (diff) | |
download | ansible-netdata_straight-9f55450f44645d9479bdbb2b9209c566f26e4d10.tar.gz ansible-netdata_straight-9f55450f44645d9479bdbb2b9209c566f26e4d10.tar.zst ansible-netdata_straight-9f55450f44645d9479bdbb2b9209c566f26e4d10.zip |
Merge pull request #2 from fretlink/add_config
Add configuration for sensors
Diffstat (limited to 'molecule/features/prepare.yml')
-rw-r--r-- | molecule/features/prepare.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/molecule/features/prepare.yml b/molecule/features/prepare.yml new file mode 100644 index 0000000..b4e8439 --- /dev/null +++ b/molecule/features/prepare.yml | |||
@@ -0,0 +1,19 @@ | |||
1 | - name: Prepare | ||
2 | hosts: all | ||
3 | tasks: | ||
4 | - name: Update apt cache | ||
5 | apt: | ||
6 | update_cache: yes | ||
7 | become: true | ||
8 | when: ansible_os_family == 'Debian' | ||
9 | - name: Create fakegroup | ||
10 | group: | ||
11 | name: fakegroup | ||
12 | state: present | ||
13 | - name: Create fake conf file | ||
14 | copy: | ||
15 | content: "Test file" | ||
16 | dest: /etc/fakefile.conf | ||
17 | owner: root | ||
18 | group: root | ||
19 | mode: 0600 | ||