diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-17 21:33:05 -0700 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-17 21:33:05 -0700 |
| commit | 40e8c140ed161ec8ba536efaa595573cf80c5b1b (patch) | |
| tree | f2b6f8cef5a5560b2770ee35bffd788305466237 | |
| parent | Add better encapsulation to ansible roles (diff) | |
| download | site-configs-40e8c140ed161ec8ba536efaa595573cf80c5b1b.zip | |
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.
| -rw-r--r-- | roles/obsd_git/tasks/main.yml | 1 |
1 files changed, 1 insertions, 0 deletions
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: |