Added bashrc routines

This commit is contained in:
2025-02-20 14:22:08 +01:00
parent 439072c6b1
commit 5b40fe1740
7 changed files with 86 additions and 11 deletions

View File

@@ -20,6 +20,13 @@
msg: "{{ public_key.stdout }}"
when: not ssh_key.stat.exists and run_once_user_root is not defined
- name: "embed user routines for {{ role_path | basename }}"
include_role:
name: user
vars:
user_name: "root"
when: run_once_user_root is not defined
- name: run the user_root tasks once
set_fact:
run_once_user_root: true