aboutsummaryrefslogtreecommitdiffhomepage
path: root/molecule/features/prepare.yml
blob: b4e8439f8f0457ed23fe5d05a2eac4f9351568cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- name: Prepare
  hosts: all
  tasks:
    - name: Update apt cache
      apt:
        update_cache: yes
      become: true
      when: ansible_os_family == 'Debian'
    - name: Create fakegroup
      group:
        name: fakegroup
        state: present
    - name: Create fake conf file
      copy:
        content: "Test file"
        dest: /etc/fakefile.conf
        owner: root
        group: root
        mode: 0600