Refactor ansible hosts.yml: Update hosts to include all servers

This commit is contained in:
2024-09-28 20:49:02 +08:00
parent 0b891864ea
commit 1934d62697
11 changed files with 284 additions and 8 deletions
@@ -0,0 +1,34 @@
---
# Make sure zsh is installed and set to the user's default shell.
- name: "OMZ | include zsh.yml tasks."
include_tasks: "zsh.yml"
tags:
- "zsh"
- "configure"
- "configurezsh"
# Install oh-my-zsh.
- name: "OMZ | include oh-my-zsh.yml tasks."
include_tasks: oh-my-zsh-install.yml
tags:
- "oh-my-zsh"
- "install"
- "installohmyzsh"
# Configure oh-my-zsh with a custom .zshrc template if omz_zshrc_create
# is set to 'true'.
- name: "OMZ | include oh-my-zsh-zshrc.yml tasks."
include_tasks: oh-my-zsh-zshrc.yml
tags:
- "oh-my-zsh"
- "configure"
- "configureohmyzsh"
# Finally, add exports etc to .zshrc /last/ (i.e. so they get added to whaterver
# .zshrc exists.
- name: "OMZ | include zsh-zshrc.yml tasks."
include_tasks: zsh-zshrc.yml
tags:
- "zsh"
- "configure"
- "configurezsh"