aboutsummaryrefslogtreecommitdiffhomepage
path: root/molecule/features/prepare.yml
diff options
context:
space:
mode:
Diffstat (limited to 'molecule/features/prepare.yml')
-rw-r--r--molecule/features/prepare.yml19
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