32 lines
764 B
YAML
32 lines
764 B
YAML
---
|
|
# Configuring zsh
|
|
|
|
- name: Set zsh as default shell for syntaxerrormmm
|
|
ansible.builtin.user:
|
|
name: syntaxerrormmm
|
|
shell: /usr/bin/zsh
|
|
tags:
|
|
- zsh
|
|
- omz
|
|
- zsh-config
|
|
- zsh-config-omz
|
|
|
|
- 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
|
|
|
|
- name: Fixing base settings
|
|
ansible.builtin.include_tasks: "{{ ansible_os_family | lower }}.yml"
|