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

Commit

Permalink
Merge pull request #2 from palantirnet/developer-provisioning
Browse files Browse the repository at this point in the history
Developer provisioning
  • Loading branch information
becw committed Apr 8, 2016
2 parents d6a9caf + 01a35e3 commit a793f5d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
14 changes: 13 additions & 1 deletion conf/vagrant/provisioning/roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,16 @@
sudo: yes
apt: pkg={{ item }} state=installed
with_items: system_packages
tags: common
tags: common

- 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 a793f5d

Please sign in to comment.