Various fixes
This commit is contained in:
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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."
|
||||
|
Reference in New Issue
Block a user