Skip to content

Instantly share code, notes, and snippets.

@zohar
Created August 17, 2017 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zohar/38fbc5e40fbd8fd2911367f1b5c2fb9d to your computer and use it in GitHub Desktop.
Save zohar/38fbc5e40fbd8fd2911367f1b5c2fb9d to your computer and use it in GitHub Desktop.
Modify a php.ini file and reload the webserver
ansible masked-servers -m ini_file -a "dest=/etc/php5/fpm/php.ini section=PHP option=max_input_vars value=2000" -b -u ubuntu
ansible masked-servers -m service -a "name=nginx state=reloaded" -b -u ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment