fix zsh playbook
This commit is contained in:
parent
e540c5d195
commit
181cfe20fb
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Configure Zsh, Neofetch, FZF, and custom .zshrc
|
- name: Configure Zsh, Neofetch, FZF, and custom .zshrc
|
||||||
hosts: all
|
hosts: all
|
||||||
become: true
|
become: false
|
||||||
vars:
|
vars:
|
||||||
zsh_custom: "{{ ansible_env.HOME }}/.oh-my-zsh/custom"
|
zsh_custom: "{{ ansible_env.HOME }}/.oh-my-zsh/custom"
|
||||||
user: "{{ ansible_user }}"
|
user: "{{ ansible_user }}"
|
||||||
|
@ -48,9 +48,11 @@
|
||||||
- name: Install Oh My Zsh (unattended)
|
- name: Install Oh My Zsh (unattended)
|
||||||
shell: |
|
shell: |
|
||||||
RUNZSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
RUNZSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||||
|
environment:
|
||||||
|
HOME: "/home/{{ ansible_user }}"
|
||||||
args:
|
args:
|
||||||
chdir: "/home/{{ user }}"
|
chdir: "/home/{{ ansible_user }}"
|
||||||
creates: "/home/{{ user }}/.oh-my-zsh"
|
creates: "/home/{{ ansible_user }}/.oh-my-zsh"
|
||||||
|
|
||||||
- name: Clone zsh-syntax-highlighting plugin
|
- name: Clone zsh-syntax-highlighting plugin
|
||||||
git:
|
git:
|
||||||
|
|
Loading…
Reference in a new issue