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

@@ -4,3 +4,6 @@ This user needs to type in his password before executing sudo.
For security reasons it's recommended to use this user instead of the standard root user.
This user should not be used to login to other systems. It's just there to let administration tasks run.
For this reason no ssh-keys are generated.
## Author
This role was created by [Kevin Veen-Birkenbach](https://www.veen.world/)

View File

@@ -46,6 +46,13 @@
notify: sshd restart
when: run_once_user_administrator is not defined
- name: "embed user routines for {{ role_path | basename }}"
include_role:
name: user
vars:
user_name: "administrator"
when: run_once_user_administrator is not defined
- name: run the user_administrator tasks once
set_fact:
run_once_user_administrator: true