Skip to content

Commit

Permalink
WIP: restricts playbook to currently testing
Browse files Browse the repository at this point in the history
Re: fix-permissions-issue-and-documentation
  • Loading branch information
ctorgalson committed Dec 21, 2023
1 parent 8afaa45 commit 13f9f54
Showing 1 changed file with 32 additions and 28 deletions.
60 changes: 32 additions & 28 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
# Make sure zsh is installed and set to the user's default shell.
- include_tasks:
- name: "OMZ | include tasks from zsh.yml."
ansible.builtin.include_tasks:
file: "zsh.yml"
apply:
tags:
Expand All @@ -9,30 +10,33 @@
- "configurezsh"

# Install oh-my-zsh.
- include_tasks:
file: "oh-my-zsh-install.yml"
apply:
tags:
- "oh-my-zsh"
- "install"
- "installohmyzsh"

# Configure oh-my-zsh with a custom .zshrc template if omz_zshrc_create
# is set to 'true'.
- include_tasks:
file: "oh-my-zsh-zshrc.yml"
apply:
tags:
- "oh-my-zsh"
- "configure"
- "configureohmyzsh"

# Finally, add exports etc to .zshrc /last/ (i.e. so they get added to whaterver
# .zshrc exists.
- include_tasks:
file: "zsh-zshrc.yml"
apply:
tags:
- "zsh"
- "configure"
- "configurezsh"
#- name: "OMZ | include tasks from oh-my-zsh-install.yml."
# ansible.builtin.include_tasks:
# file: "oh-my-zsh-install.yml"
# apply:
# 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 tasks from oh-my-zsh-zshrc.yml."
# ansible.builtin.include_tasks:
# file: "oh-my-zsh-zshrc.yml"
# apply:
# 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 tasks from zsh-zshrc.yml."
# ansible.builtin.include_tasks:
# file: "zsh-zshrc.yml"
# apply:
# tags:
# - "zsh"
# - "configure"
# - "configurezsh"

0 comments on commit 13f9f54

Please sign in to comment.