Skip to content

Commit

Permalink
WIP: uses builtin namespaces; uses better names
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 c7b5307 commit fe9e86e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
- "configurezsh"

# Install oh-my-zsh.
#- 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"
#
- 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."
Expand Down
8 changes: 4 additions & 4 deletions tasks/oh-my-zsh-install.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
- name: Establish install location.
set_fact:
- name: "OMZ | establish install location."
ansible.builtin.set_fact:
omz_install_path: "/{{ omz_user_home_dir }}/{{ omz_user.name }}/{{ omz_install_directory }}"

- name: Clone Oh My ZSH repo for user.
git:
- name: "OMZ | clone Oh My ZSH repo for user."
ansible.builtin.git:
repo: "{{ omz_git_repository }}"
dest: "{{ omz_install_path }}"
update: true
Expand Down

0 comments on commit fe9e86e

Please sign in to comment.