dotfiles/tasks/dabapps.yml

57 lines
1.1 KiB
YAML
Raw Normal View History

2019-03-14 21:34:29 +00:00
- name: "Install DabApps packages"
aur:
skip_installed: true
name: "{{ item }}"
become: true
become_user: aur_builder
when: "item not in installed_packages.stdout_lines"
loop:
- 'heroku-cli'
- 'mercurial'
2019-03-15 09:00:50 +00:00
- 'ngrok'
- 'python-aws-mfa'
- 'redis'
2019-03-15 09:00:50 +00:00
2019-03-14 21:34:29 +00:00
2019-05-25 16:50:09 +01:00
- name: "Enable redis"
2019-05-26 11:52:41 +01:00
systemd:
2019-03-14 21:34:29 +00:00
name: "redis"
enabled: true
2019-05-26 11:52:41 +01:00
state: started
2019-03-14 21:34:29 +00:00
2019-05-25 16:50:09 +01:00
- name: "Clone DabApps Dotfiles"
2018-09-14 09:27:24 +01:00
git:
repo: git@github.com:dabapps/dotfiles
2018-09-17 17:22:15 +01:00
dest: "{{ home }}/Projects/dotfiles"
2018-09-14 09:27:24 +01:00
force: true
become: true
2018-09-17 17:22:15 +01:00
become_user: "{{ user }}"
2018-09-14 09:27:24 +01:00
2019-05-25 16:50:09 +01:00
- name: "Install DabApps EditorConfig"
file:
2018-09-17 17:22:15 +01:00
src: "{{ home }}/Projects/dotfiles/.editorconfig"
2018-09-18 08:55:01 +01:00
dest: "{{ home }}/Projects/.editorconfig"
2018-09-14 09:27:24 +01:00
mode: 0644
2018-09-17 17:22:15 +01:00
owner: "{{ user }}"
2018-09-14 09:27:24 +01:00
state: link
force: true
- name: Enable strip mercurial extension
ini_file:
path: "{{ home }}/.hgrc"
section: "extensions"
option: strip
value: ""
mode: 0644
- name: Enable strip mercurial extension
ini_file:
path: "{{ home }}/.hgrc"
section: "ui"
option: ignore
value: '{{ home }}/.config/.gitignore'
mode: 0644