diff options
| author | jerome <jerome@xlinfo.fr> | 2025-01-29 12:16:12 +0100 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2025-01-29 12:16:12 +0100 |
| commit | 23ff2b6c3f4ca6335086a0336708035432bd9a09 (patch) | |
| tree | b0d6b8d8012d65b3c3dae459357ecf59683f7d50 /lamp/tasks/RedHat-phpmyadmin.yml | |
| parent | 948266d1c7f1ae107487699340715ddd41665f01 (diff) | |
| download | ansible-lamp-23ff2b6c3f4ca6335086a0336708035432bd9a09.tar.gz ansible-lamp-23ff2b6c3f4ca6335086a0336708035432bd9a09.zip | |
includes et imports
Diffstat (limited to 'lamp/tasks/RedHat-phpmyadmin.yml')
| -rw-r--r-- | lamp/tasks/RedHat-phpmyadmin.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lamp/tasks/RedHat-phpmyadmin.yml b/lamp/tasks/RedHat-phpmyadmin.yml new file mode 100644 index 0000000..569ddd2 --- /dev/null +++ b/lamp/tasks/RedHat-phpmyadmin.yml @@ -0,0 +1,23 @@ +--- +- name: installation epel-release + package: + name: epel-release + state: present + +- name: installation phpmyadmin + package: + name: phpmyadmin + state: present + +- name: phpmyadmin.conf + replace: + path: /etc/httpd/conf.d/phpMyAdmin.conf + regexp: "Require local" + replace: "Require all granted" + after: "<Directory /usr/share/phpMyAdmin/>" + before: "</Directory>" + notify: restarting_apache + +- name: database + shell: mysql < /usr/share/phpMyAdmin/sql/create_tables.sql + |
