-
-
Save shudarshon/84c8bf2c8246a9abab59ff9bda4e5b6e to your computer and use it in GitHub Desktop.
test_file_ansible
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Installing PHP packages | |
apt: update_cache=yes state=latest name={{ item }} state=latest | |
with_items: | |
- php5 | |
- php5-fpm | |
- php5-mysql | |
- php5-curl | |
- php5-mcrypt | |
- php5-gd | |
- php5-cli | |
- name: ensure php5-fpm cgi.fix_pathinfo=0 | |
lineinfile: dest=/etc/php5/fpm/php.ini regexp='^(.*)cgi.fix_pathinfo=' line=cgi.fix_pathinfo=0 | |
notify: | |
- php-fpm restart | |
- nginx restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment