]> git.immae.eu Git - github/fretlink/ansible-netdata_straight.git/blob - molecule/features/prepare.yml
feature: add sensor configuration
[github/fretlink/ansible-netdata_straight.git] / molecule / features / prepare.yml
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