This commit is contained in:
2024-04-04 09:55:51 +03:00
parent 786bd97c07
commit 1f151c00df
7 changed files with 47 additions and 16 deletions

View File

@@ -3,18 +3,8 @@
import_tasks: root.yml
become: true
- name: Check for OMB
stat:
path: "{{ ansible_user_dir }}/.oh-my-bash"
register: omb_flag
- debug:
msg: 'OMB is not installed, run: bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"'
when: not omb_flag.stat.exists
- name: Put simple bashrc config
- name: bashrc
template:
src: files/bashrc
dest: "{{ ansible_user_dir }}/.bashrc"
when: not omb_flag.stat.exists

View File

@@ -76,4 +76,7 @@
community.general.timezone:
name: Europe/Moscow
- name: Put unattended-upgrades config
template:
src: files/50unattended-upgrades
dest: /etc/apt/apt.conf.d/50unattended-upgrades