Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
Configure a global .gitignore on the VM for developers.
Browse files Browse the repository at this point in the history
  • Loading branch information
becw committed Apr 8, 2016
1 parent c602d3a commit 01a35e3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
8 changes: 8 additions & 0 deletions conf/vagrant/provisioning/roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,11 @@
- name: Common | Configure PALANTIR_ENVIRONMENT variable
lineinfile: dest=/home/vagrant/.profile state=present line='export PALANTIR_ENVIRONMENT="vagrant"'
tags: common

- name: Common | Copy gitignore
copy: src=roles/common/templates/gitignore dest=/home/vagrant/.gitignore
tags: common

- name: Common | Configure global gitignore
command: /usr/bin/git config --global core.excludesfile ~/.gitignore
tags: common
17 changes: 17 additions & 0 deletions conf/vagrant/provisioning/roles/common/templates/gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Folder view configuration files
.DS_Store

# cache files
._*

# Files that might appear on external disks
.Spotlight-V100
.Trashes

# IDE files
.idea

# Application specific files
node_modules
npm-debug.log
.sass-cache

0 comments on commit 01a35e3

Please sign in to comment.