dotfiles/tasks/dabapps.yml

54 lines
1.1 KiB
YAML
Raw Normal View History

- name: Install DabApps packages
2019-03-14 21:34:29 +00:00
aur:
skip_installed: true
name: "{{ item }}"
become: true
become_user: aur_builder
when: item not in installed_packages.stdout_lines
loop:
- heroku-cli
- mercurial
- ngrok
- python-aws-mfa
2019-03-14 21:34:29 +00: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
- name: Install DabApps EditorConfig
2019-05-25 16:50:09 +01:00
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
2020-04-24 12:13:14 +01:00
- name: Install Crab service
template:
src: ./files/crab.service
dest: /etc/systemd/system/crab.service
mode: 0644
owner: root
group: root