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

18 lines
495 B
YAML

- 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
- name: Copy gitwatch script
template:
src: scripts/gitwatch.sh
dest: "{{ home }}/.local/bin/ppq_gitwatch"
- name: Setup gitwatch
systemd_service:
scope: user
name: popequer_gitwatch@personal
state: started
enabled: true