Templatize username

This commit is contained in:
Mike Wilson
2025-06-16 13:51:55 -04:00
parent 07813d80b6
commit 4105f50aa7
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
username: "mike"
+4
View File
@@ -0,0 +1,4 @@
- hosts: localhost
connection: local
roles:
- arkenfox
+1 -1
View File
@@ -10,7 +10,7 @@
- name: Get path of default firefox profile
ansible.builtin.find:
paths: "/home/mike/.mozilla/firefox"
paths: "/home/{{ username }}/.mozilla/firefox"
file_type: directory
patterns: "*default-release"
register: profile_dir