monakhos/ansible/roles/popequer_notebook/tasks/main.yaml

20 lines
519 B
YAML
Raw Normal View History

2024-05-22 15:35:11 +00:00
- name: Create dir
file:
path: /home/mbess/notebooks
state: directory
- name: Clone personal notebook
ansible.builtin.git:
repo: "git@forge.lefuturiste.fr:mbess/main-popequer-notebook.git"
dest: /home/mbess/notebooks/personal
2024-07-15 09:57:27 +00:00
- name: Copy gitwatch script
template:
src: scripts/gitwatch.sh
dest: "{{ home }}/.local/bin/ppq_gitwatch"
2024-07-19 14:11:08 +00:00
mode: u=rwx,g=rx,o=
- name: Setup gitwatch
systemd_service:
scope: user
name: popequer_gitwatch@personal
state: started
enabled: true