Logfile creation

This commit is contained in:
Raphael Werner 2025-04-28 22:27:54 +02:00
parent 4b5e6baf0b
commit 1049a49804

View file

@ -10,6 +10,12 @@
pre_tasks:
- name: "Create Logfile"
block:
- name: "Create Folder"
ansible.builtin.file:
path: "/var/log/ansible/"
state: directory
mode: '0644'
- name: "Create File"
ansible.builtin.file:
path: "{{ log_path }}"