Files
Cachy-workstation/roles/scripts/tasks/main.yml
T
2026-06-20 06:17:34 -05:00

14 lines
392 B
YAML

---
- name: Clone the scripts repo
ansible.builtin.git:
repo: https://gitea.learningunix.net/cjr/scripts
dest: "{{ ansible_user_home }}/scripts"
update: true
version: main
- name: Ensure that scripts is in the user's path
ansible.builtin.lineinfile:
path: "{{ ansible_user_home }}/dotfiles/zsh/.zshrc"
line: 'export PATH="$HOME/scripts:$PATH"'
state: present