cachy-workstation

Log | Files | Refs | README

main.yml (580B)


      1 ---
      2 - name: Clone the scripts repo
      3   ansible.builtin.git:
      4     repo: git@gitea.learningunix.net:cjr/scripts.git
      5     dest: "{{ ansible_facts['user_dir'] }}/scripts"
      6     update: true
      7     version: main
      8 
      9 - name: Ensure that scripts is in the user's path
     10   ansible.builtin.lineinfile:
     11     path: "{{ ansible_facts['user_dir'] }}/dotfiles/zsh/.zshrc"
     12     line: 'export PATH="$HOME/scripts:$PATH"'
     13     state: present
     14 
     15 - name: Deploy pushover credentials
     16   ansible.builtin.template:
     17     src: pushover.j2
     18     dest: "{{ ansible_facts['user_dir'] }}/.pushover"
     19     mode: "0600"
     20   no_log: true