--- # Deploy Fish and Starship configuration files. - name: Ensure Fish config directory exists ansible.builtin.file: path: "{{ cli_modern_user_home }}/.config/fish/conf.d" state: directory owner: "{{ cli_modern_user }}" group: "{{ cli_modern_user_group }}" mode: "0755" - name: Ensure Starship config directory exists ansible.builtin.file: path: "{{ cli_modern_user_home }}/.config" state: directory owner: "{{ cli_modern_user }}" group: "{{ cli_modern_user_group }}" mode: "0755" when: cli_modern_deploy_starship_config - name: Deploy Fish config ansible.builtin.template: src: config.fish.j2 dest: "{{ cli_modern_user_home }}/.config/fish/config.fish" owner: "{{ cli_modern_user }}" group: "{{ cli_modern_user_group }}" mode: "0644" backup: true when: cli_modern_deploy_fish_config - name: Deploy Starship config ansible.builtin.template: src: starship.toml.j2 dest: "{{ cli_modern_user_home }}/.config/starship.toml" owner: "{{ cli_modern_user }}" group: "{{ cli_modern_user_group }}" mode: "0644" backup: true when: cli_modern_deploy_starship_config