21 lines
494 B
YAML
21 lines
494 B
YAML
---
|
|
- name: Do root tasks
|
|
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
|
|
template:
|
|
src: files/bashrc
|
|
dest: "{{ ansible_user_dir }}/.bashrc"
|
|
when: not omb_flag.stat.exists
|
|
|