added hotkeys role
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: cjr
|
||||
description: Clone scripts repo and add to PATH
|
||||
license: BSD-3-Clause
|
||||
min_ansible_version: "2.1"
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
- 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
|
||||
Reference in New Issue
Block a user