dotfiles/tasks/dabapps.yml
2020-02-14 13:30:12 +00:00

45 lines
1,004 B
YAML

- 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'
- 'ngrok'
- 'python-aws-mfa'
- name: "Clone DabApps Dotfiles"
git:
repo: git@github.com:dabapps/dotfiles
dest: "{{ home }}/Projects/dotfiles"
force: true
become: true
become_user: "{{ user }}"
- name: "Install DabApps EditorConfig"
file:
src: "{{ home }}/Projects/dotfiles/.editorconfig"
dest: "{{ home }}/Projects/.editorconfig"
mode: 0644
owner: "{{ user }}"
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