We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e540c5d commit 181cfe2Copy full SHA for 181cfe2
ansible/playbooks/zsh.yml
@@ -1,7 +1,7 @@
1
---
2
- name: Configure Zsh, Neofetch, FZF, and custom .zshrc
3
hosts: all
4
- become: true
+ become: false
5
vars:
6
zsh_custom: "{{ ansible_env.HOME }}/.oh-my-zsh/custom"
7
user: "{{ ansible_user }}"
@@ -48,9 +48,11 @@
48
- name: Install Oh My Zsh (unattended)
49
shell: |
50
RUNZSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
51
+ environment:
52
+ HOME: "/home/{{ ansible_user }}"
53
args:
- chdir: "/home/{{ user }}"
- creates: "/home/{{ user }}/.oh-my-zsh"
54
+ chdir: "/home/{{ ansible_user }}"
55
+ creates: "/home/{{ ansible_user }}/.oh-my-zsh"
56
57
- name: Clone zsh-syntax-highlighting plugin
58
git:
0 commit comments