This commit is contained in:
2022-12-11 13:37:51 +00:00
parent 4332cf4362
commit 0690f7decc
5 changed files with 22 additions and 39 deletions

View File

@@ -56,3 +56,18 @@
path: /etc/update-motd.d/10-help-text
mode: 644
when: ansible_facts['os_family'] == "Debian"
- name: Check for OMB
stat:
path: "{{ ansible_user_dir }}/.oh-my-bash"
register: omb_flag_root
- debug:
msg: 'OMB is not installed for root'
when: not omb_flag_root.stat.exists
- name: Put simple bashrc config
template:
src: files/bashrc
dest: "/root/.bashrc"
when: not omb_flag_root.stat.exists