Add config task
This commit is contained in:
parent
1c7e65dba5
commit
3d02ac372f
13 changed files with 65 additions and 4 deletions
2
Pipfile
2
Pipfile
|
@ -13,5 +13,5 @@ yamllint = "*"
|
|||
python_version = "3.7"
|
||||
|
||||
[scripts]
|
||||
deploy = "ansible-playbook -i hosts dotfiles.yml -C"
|
||||
deploy = "sudo ansible-playbook -i hosts dotfiles.yml -C"
|
||||
test = "yamllint -sc yamllint.yml yamllint.yml dotfiles.yml tasks/ vars.yml"
|
||||
|
|
|
@ -5,3 +5,4 @@
|
|||
- include_vars:
|
||||
file: vars.yml
|
||||
- import_tasks: tasks/common.yml
|
||||
- import_tasks: tasks/config.yml
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
[include]
|
||||
path = ~/.dotfiles/git/private.conf
|
||||
<% if @trusted['hostname'] == 'too-work' -%>
|
||||
{% if ansible_fqdn == "TOO-Work" %}
|
||||
path = ~/.dotfiles/git/work.conf
|
||||
<% else -%>
|
||||
{% else %}
|
||||
path = ~/.dotfiles/git/personal.conf
|
||||
<% end -%>
|
||||
{% endif %}
|
||||
|
||||
[includeIf "gitdir:~/sourcebots/"]
|
||||
path = ~/.dotfiles/git/sourcebots.conf
|
60
tasks/config.yml
Normal file
60
tasks/config.yml
Normal file
|
@ -0,0 +1,60 @@
|
|||
- copy:
|
||||
src: ./files/libinput-gestures.conf
|
||||
dest: /etc/libinput-gestures.conf
|
||||
mode: 0644
|
||||
owner: jake
|
||||
|
||||
- copy:
|
||||
src: ./files/terminator.conf
|
||||
dest: /home/jake/.config/terminator/config
|
||||
mode: 0644
|
||||
owner: jake
|
||||
|
||||
- copy:
|
||||
src: ./files/uniemoji.json
|
||||
dest: /home/jake/.config/uniemoji/custom.json
|
||||
mode: 0644
|
||||
owner: jake
|
||||
|
||||
- copy:
|
||||
src: ./files/assh.yml
|
||||
dest: /home/jake/.ssh/assh.yml
|
||||
mode: 0644
|
||||
owner: jake
|
||||
|
||||
- copy:
|
||||
src: ./files/gitignore_global
|
||||
dest: /home/jake/.config/.gitignore
|
||||
mode: 0644
|
||||
owner: jake
|
||||
|
||||
- template:
|
||||
src: ./files/gitconfig.conf
|
||||
dest: /home/jake/.gitconfig
|
||||
mode: 0644
|
||||
owner: jake
|
||||
group: users
|
||||
|
||||
- copy:
|
||||
src: ./files/rofi.conf
|
||||
dest: /home/jake/.config/rofi/config
|
||||
mode: 0644
|
||||
owner: jake
|
||||
|
||||
- copy:
|
||||
src: ./files/touchpad.conf
|
||||
dest: /usr/share/X11/xorg.conf.d/30-touchpad.conf
|
||||
mode: 0644
|
||||
owner: jake
|
||||
|
||||
- copy:
|
||||
src: ./files/caret-preferences.md
|
||||
dest: /home/jake/.config/Caret/Preferences.md
|
||||
mode: 0644
|
||||
owner: jake
|
||||
|
||||
- copy:
|
||||
src: ./files/alacritty.yml
|
||||
dest: /home/jake/.config/alacritty/alacritty.yml
|
||||
mode: 0644
|
||||
owner: jake
|
Loading…
Reference in a new issue