summaryrefslogtreecommitdiff
path: root/roles/install_php/tasks
diff options
context:
space:
mode:
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'