-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplaybook.yml
More file actions
36 lines (32 loc) · 1.01 KB
/
Copy pathplaybook.yml
File metadata and controls
36 lines (32 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
- name: Bootstrap local developer machine
hosts: local
gather_facts: true
pre_tasks:
- name: Validate Linux Mint to Ubuntu codename mapping exists
ansible.builtin.fail:
msg: |
Cannot determine correct Ubuntu codename for Linux Mint {{ ansible_distribution_release }}.
Please add mapping for '{{ ansible_distribution_release }}' in group_vars/all.yml
under private.linux_mint_to_ubuntu_codename_map
when:
- ansible_distribution == "Linux Mint"
- ansible_distribution_release not in private.linux_mint_to_ubuntu_codename_map
# Should be run in order below
roles:
- update
- zsh-install
- zsh-dotfiles
- zsh-themes
- zsh_plugins
- packages
- programs
- programming_languages
- docker
- drivers
- monitoring
- user_configuration
post_tasks:
- name: Notify user to re-login for shell change to take effect
ansible.builtin.debug:
msg: "Bootstrap complete! Please reboot the system"