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

Commit

Permalink
Remove user-specific provisioning and zsh configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
becw committed Feb 5, 2020
1 parent 10a1242 commit a1cd289
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions conf/vagrant/provisioning/roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,6 @@
command: /usr/bin/git config --global core.excludesfile ~/.gitignore
tags: common

- name: Check for user-specific provisioning script
stat: path=/var/www/{{ hostname }}/conf/provision-user
register: provision_user

- name: Run user-specific provisioning.
command: /var/www/{{ hostname }}/conf/provision-user
when: provision_user.stat.exists
tags: common

- name: Ensure ~/bin exists
file:
path: /home/vagrant/bin
Expand All @@ -69,14 +60,6 @@
lineinfile: dest=/home/vagrant/.profile state=present line='export PATH="$PATH:/var/www/{{ hostname }}/vendor/bin"'
tags: common

- name: Add the ~/bin to the zsh path
lineinfile: dest=/home/vagrant/.zshrc state=present create=yes line='export PATH="$PATH:$HOME/bin"'
tags: drush

- name: Add $HOME/bin and the project's vendor/bin to the zsh path
lineinfile: dest=/home/vagrant/.zshrc state=present create=yes line='export PATH="$PATH:$REPO/vendor/bin:$HOME/bin:/var/www/{{ hostname }}/vendor/bin"'
tags: common

- name: Change directory into the project root on login
lineinfile: dest=/home/vagrant/.profile state=present line='cd /var/www/{{ hostname }}'
tags: common

0 comments on commit a1cd289

Please sign in to comment.