master
Raw Download raw file
 1---
 2# home.yml tasks
 3
 4- name: logbook - check git dir existance
 5  stat: 
 6    path: "{{ logbook_dir }}"
 7  register: lb_git_dir
 8
 9- name: logbook - git clone (only if absent, touch yubikey for ssh key unlock)
10  git:
11    repo: git@github.com:bryfry/logbook.git
12    dest: "{{ logbook_dir }}"
13    accept_hostkey: True
14  when: not lb_git_dir.stat.exists