Update expired GPG key. Config options on php fpm

Change-Id: Ib40927591e04564d44dd0908b371f7ee74b8ee81
diff --git a/defaults/main.yml b/defaults/main.yml
index 79bce93..c485bf7 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -5,7 +5,19 @@
 # SPDX-License-Identifier: Apache-2.0
 
 # PHP related settings
-php_service: "php7.4-fpm"
+
+php_version: "7.4"
+
+# FPM Config
+php_fpm_service: "php7.4-fpm"
+
+php_fpm_config:
+  pm.max_children: 15
+  pm.start_servers: 5
+  pm.min_spare_servers: 5
+  pm.max_spare_servers: 10
+  pm.max_requests: 500
+
 
 # Packages required for Wordpress and ONF Website
 php_packages:
diff --git a/files/debian_packages_sury_org_php.gpg b/files/debian_packages_sury_org_php.gpg
index 13c0b58..167e3d8 100644
--- a/files/debian_packages_sury_org_php.gpg
+++ b/files/debian_packages_sury_org_php.gpg
@@ -9,17 +9,17 @@
 crkLgPhBAz/R9M7E/G3zedmiEhsV78pBF3bup+nQVvBVtV/NucN5N6LkAclT4O3F
 flGZa1/mJcpgjVapT6duY0POXczfS6ts55x2BE0UfYtXfRnVnHtu2+j8kqYG3N1G
 sfVnzRkwtTWBMxMAEQEAAbQxREVCLlNVUlkuT1JHIEF1dG9tYXRpYyBTaWduaW5n
-IEtleSA8ZGViQHN1cnkub3JnPokB1AQTAQoAPhYhBBUFhQCgI12X9dEAY7GI4raV
-vUdDBQJcj2+fAhsDBQkDwmcABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJELGI
-4raVvUdDROUMANJjLVGk6TLYZKyRc8HZXyMRmw55nCQXsy8DHen6H7MuZHaxV9sf
-1tF1cQwPnv3HFlg7nZBFszyReW7s3LOcPuNXS90Sk5o7WLqVMkE+t46iNNGuIt3s
-WxPdYqY4ueCnUHHEFDKhlwlJnNh3+yVNci4nV+6SlzoasEjy5P82+pviop3viSlA
-8lgXdOYERRqZ1wh0Vip5gxcNIdm+TqWINI9+7T/87GfZzn84Zlvd0GnfjT6aN6RC
-sI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-=74SA
+PhQGH+F9kwSpGVwb0DKFT6gR9Pt3ABEBAAGJAbwEGAEKACYCGwwWIQQVBYUAoCNd
+l/XRAGOxiOK2lb1HQwUCYCuFsQUJCT+wkgAKCRCxiOK2lb1HQ3icDADGRBYuqFNG
+2mnAKH9W2qMKGJUBOMdEouUpFZELs5bgMfLH9/i5PNi+73IhHqsSsR3JIHRPuzt5
+nmifWYFPvsVV/8eu2O1UeyCbt+KK1v+aMfJbg3J38pCLgqOrMK1a3VxKZ6mHIy6A
+5xEBLdl9HP6+lGYhYPdQd2kq5H+64DyF5zlpUX9biTpiri4ZiF3kUrXKLEupUtuS
+aWf+n4hTreT2olThoQIsxWPj+YV/9irNRpATY+JrD74tA3HPI02nq3Xvaz0R0gVG
+8HRUcw3ejXgn8SfSmY8p3JxVtYQJTUdsR3+qTgm+91LpFhWBBJZagjUoYrGb5/ZU
+iCyr1kJMo+/PceVsGuiaH9r84fxi0VGZVl4P9rP3Dwx8QLosFrElkQBhX1YIYhJX
+mo/XAlzVedQ37DyJu+/TZDUXu1q/4D+7z0s3oekWmUwziFI1HBxsNbwHRQyek/To
+nirX97CSifEBg1L8BRRex7eUGWJ/YI/Zjf6CNaqUt5SIUBUv0zv1lFc=
+=gNGr
 -----END PGP PUBLIC KEY BLOCK-----
diff --git a/handlers/main.yml b/handlers/main.yml
index ca04e53..c42f3f0 100644
--- a/handlers/main.yml
+++ b/handlers/main.yml
@@ -6,10 +6,10 @@
 
 - name: start-php
   service:
-    name: "{{ php_service }}"
+    name: "{{ php_fpm_service }}"
     state: started
 
 - name: restart-php
   service:
-    name: "{{ php_service }}"
+    name: "{{ php_fpm_service }}"
     state: restarted
diff --git a/tasks/Debian.yml b/tasks/Debian.yml
index 7b7c6a5..7238c89 100644
--- a/tasks/Debian.yml
+++ b/tasks/Debian.yml
@@ -40,3 +40,12 @@
     cache_valid_time: 3600
   notify:
     - start-php
+
+- name: Configure PHP-FPM service
+  lineinfile:
+    path: "/etc/php/{{ php_version }}/fpm/pool.d/www.conf"
+    regexp: "^{{ item.key }}.*$"
+    line: "{{ item.key }} = {{ item.value }}"
+  loop: "{{ php_fpm_config | dict2items }}"
+  notify:
+    - restart-php
diff --git a/tasks/main.yml b/tasks/main.yml
index 6ab7836..3a9df11 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -10,9 +10,10 @@
 - name: include OS-specific tasks
   include_tasks: "{{ ansible_os_family }}.yml"
 
+
 - name: Enable PHP-FPM Service
   service:
-    name: "{{ php_service }}"
+    name: "{{ php_fpm_service }}"
     enabled: true
   notify:
     - start-php