i'm dumb...
This commit is contained in:
@ -1,4 +1,10 @@
|
||||
---
|
||||
- name: Set home location for each users
|
||||
set_fact:
|
||||
user_home: "{{ '/root' if item == 'root' else '/home/' + item }}"
|
||||
with_items: "{{ zsh_users }}"
|
||||
register: paths
|
||||
|
||||
- name: Include OS specific variables.
|
||||
ansible.builtin.include_vars: "{{ lookup('ansible.builtin.first_found', params) }}"
|
||||
vars:
|
||||
|
Reference in New Issue
Block a user