Skip to content

Instantly share code, notes, and snippets.

@danlamanna
Created October 31, 2014 02:37
Show Gist options
  • Save danlamanna/199362c1813df8990438 to your computer and use it in GitHub Desktop.
Save danlamanna/199362c1813df8990438 to your computer and use it in GitHub Desktop.
- name: set vagrant as the apache run user
lineinfile:
state=present
dest=/etc/apache2/envvars
regexp="^export APACHE_RUN_USER=www-data"
line="export APACHE_RUN_USER=vagrant"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment