blob: b4e8439f8f0457ed23fe5d05a2eac4f9351568cd (
plain) (
tree)
|
|
- 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
|