From 40e8c140ed161ec8ba536efaa595573cf80c5b1b Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 17 Oct 2026 21:33:05 -0700 Subject: Add preserve modification time to hushlogin Every time the ansible playbook runs, 'touch' with the ansible.builtin.file modle always modifies the modification time and therefore always counts this as 'changed'. This removes that bit of noise as we have no reason to update the modification time every run for this file. --- roles/obsd_git/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/obsd_git') diff --git a/roles/obsd_git/tasks/main.yml b/roles/obsd_git/tasks/main.yml index 91388cf..bcf320b 100644 --- a/roles/obsd_git/tasks/main.yml +++ b/roles/obsd_git/tasks/main.yml @@ -42,6 +42,7 @@ owner: "{{ obsd_git_user }}" group: "{{ obsd_git_user }}" mode: "0644" + modification_time: preserve - name: Create .ssh directory ansible.builtin.file: -- cgit v1.2.3