Various fixes

This commit is contained in:
2025-01-09 16:09:23 +01:00
parent 045447757f
commit 19425ca130
6 changed files with 8 additions and 12 deletions

View File

@ -1,7 +1,7 @@
---
- name: "OMZ | establish install location."
set_fact:
omz_install_path: "/{{ omz_user_home_dir }}/{{ omz_user.name }}/{{ omz_install_directory }}"
omz_install_path: "{{ ansible_env.HOME }}/{{ omz_install_directory }}"
- name: "OMZ | clone Oh My ZSH repo for user."
git:

View File

@ -1,7 +1,7 @@
---
- name: "OMZ | derive user .zshrc path."
set_fact:
omz_user_zshrc_path: "/{{ omz_user_home_dir }}/{{ omz_user.name }}/.zshrc"
omz_user_zshrc_path: "{{ ansible_env.HOME }}/.zshrc"
- name: "OMZ | template .zshrc into place if required."
template:

View File

@ -1,8 +1,4 @@
---
- name: "OMZ | establish home directory."
set_fact:
omz_user_home_dir: "{{ (ansible_system == 'Darwin') | ternary('Users', 'home') }}"
- name: "OMZ | ensure zsh is installed."
block:
- name: "OMZ | install zsh for Linux."