dotfiles/roles/zsh/tasks/config/main.yml

27 lines
698 B
YAML
Raw Normal View History

---
# Configuring zsh
- name: Fixing base settings
ansible.builtin.include_tasks: "{{ ansible_os_family | lower }}.yml"
- name: Set zsh as default shell for syntaxerrormmm
ansible.builtin.user:
name: syntaxerrormmm
shell: /usr/bin/zsh
- name: Creating personal folder for customization
ansible.builtin.file:
path: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.zsh/conf.d"
state: directory
owner: syntaxerrormmm
group: syntaxerrormmm
mode: "0755"
- name: Linking main file
ansible.builtin.file:
src: "{{ dotfdir }}/zshrc"
dest: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.zshrc"
state: link
owner: syntaxerrormmm
group: syntaxerrormmm