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