diff options
| author | jerome <jerome@xlinfo.fr> | 2026-09-18 01:19:20 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2026-09-18 01:19:20 +0200 |
| commit | aa1e170bbc39440d85b660aad530001e6f8de3e4 (patch) | |
| tree | 6f5372e74b1b8f6c7cf167bca774fa5bcf543146 /tasks/RedHat-phpmyadmin.yml | |
| parent | e9d771811b033f6bc1aeb3712050d1d300b8cc13 (diff) | |
| download | lamp-aa1e170bbc39440d85b660aad530001e6f8de3e4.tar.gz lamp-aa1e170bbc39440d85b660aad530001e6f8de3e4.zip | |
MAJ
Diffstat (limited to 'tasks/RedHat-phpmyadmin.yml')
| -rw-r--r-- | tasks/RedHat-phpmyadmin.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tasks/RedHat-phpmyadmin.yml b/tasks/RedHat-phpmyadmin.yml new file mode 100644 index 0000000..569ddd2 --- /dev/null +++ b/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 + |
