fix: disable become on localhost play and drop deprecated facts

Use now() for export timestamps and ansible_facts['system'] for browser detection. Set become: false on the localhost play to avoid sudo on local fact gathering.
This commit is contained in:
Sergey Antropoff
2026-07-01 11:56:06 +03:00
parent 3ca7dde4b2
commit 2d44916893
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -9,6 +9,7 @@
hosts: localhost
connection: local
gather_facts: true
become: false
tags: [install, update, export]
tasks:
- name: Generate global index.html and open in browser