summaryrefslogtreecommitdiff
path: root/roles/install_php/tasks
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-19 00:11:26 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-19 00:11:26 +0100
commit58195b0ab93067f46ee37d4114a2fdda59ce10b3 (patch)
treeed497654ded83e3fa8c5a22d884fe537c4ba44d9 /roles/install_php/tasks
parent1a4588d8f1130fa6ccaf8bbdd5ace7646ff23941 (diff)
moved install php to own role and added bashrc
Diffstat (limited to 'roles/install_php/tasks')
-rw-r--r--roles/install_php/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/install_php/tasks/main.yml b/roles/install_php/tasks/main.yml
new file mode 100644
index 0000000..0d8e05a
--- /dev/null
+++ b/roles/install_php/tasks/main.yml
@@ -0,0 +1,11 @@
+---
+- name: install php
+ pacman:
+ name: php
+ state: present
+
+- name: set default_socket_timeout
+ lineinfile:
+ path: /etc/php/php.ini
+ regexp: '^;?default_socket_timeout'
+ line: 'default_socket_timeout = 10'