Commit e3d8169
Changed files (3)
tasks
tasks/home.yml
@@ -23,6 +23,8 @@
- vimrc
- tmux.conf
- tmux.statusbar.conf
+ - bashrc
+ - bash_aliases
- name: home - symbolic links (ssh config)
file:
tasks/logbook.yml
@@ -0,0 +1,13 @@
+---
+# home.yml tasks
+
+- name: logbook - check git dir existance
+ stat:
+ path: "{{ logbook_dir }}"
+ register: lb_git_dir
+
+- name: logbook - git clone (only if absent, touch yubikey for ssh key unlock)
+ git:
+ repo: git@github.com:bryfry/logbook.git
+ dest: "{{ logbook_dir }}"
+ when: not lb_git_dir.stat.exists
main.yml
@@ -3,6 +3,7 @@
vars:
home_dir: "{{ ansible_env.HOME }}/git/home"
+ logbook_dir: "{{ ansible_env.HOME }}/git/logbook"
git_email: "bryon.fryer@gmail.com"
git_username: "bryfry"
terminus_font_file: "ter-powerline-v12n.psf.gz"
@@ -47,6 +48,7 @@
- powertop
- include: tasks/home.yml
+ - include: tasks/logbook.yml
- include: tasks/battery.yml
- include: tasks/consolefont.yml
- include: tasks/git.yml