homelab/ansible/playbooks/user_config.yml

13 lines
256 B
YAML
Raw Normal View History

2022-11-29 20:23:44 +00:00
---
- hosts: all
roles:
- role: user_config
vars:
user_config_username: "{{ user.name }}"
become_user: "{{ user.name }}"
become: true
- role: user_config
vars:
user_config_username: root
become: true