Skip to content

Commit

Permalink
new: startup script
Browse files Browse the repository at this point in the history
  • Loading branch information
wickes1 committed Sep 23, 2022
1 parent 089c7a9 commit 8dbd220
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ home_dotfiles:
- zsh/.p10k.zsh
- zsh/.keybindsrc
- zsh/.scripts.sh
- zsh/.startup.sh
python:
pyenv_version: 3.10.4
utils:
Expand Down
2 changes: 2 additions & 0 deletions roles/base/files/zsh/.startup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# go app update
gup update
11 changes: 11 additions & 0 deletions roles/base/tasks/dotfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@
- dotfiles
- dotfiles-home

- name: Setup crontab job
ansible.builtin.cron:
name: "start up scripts"
special_time: reboot
job: /home/{{ username }}/.startup.sh
tags:
- startup
- crontab
- dotfiles
- dotfiles-home

- name: Copy kitty dotfiles
copy:
src: "{{ item }}"
Expand Down

0 comments on commit 8dbd220

Please sign in to comment.