initial version, with allow duplicate

This commit is contained in:
2023-06-09 08:29:21 +02:00
commit f434a6a6d4
3 changed files with 113 additions and 0 deletions

7
tasks/main.yml Normal file
View File

@@ -0,0 +1,7 @@
---
# tasks file for log
- lineinfile:
path: /etc/history
create: true
line: "{{ '%Y-%m-%d' | strftime }} {{ myrole_name }} {{ role_version }}"
tags: always,changelog