diff options
| author | jerome <jerome@xlinfo.fr> | 2026-09-17 22:50:01 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2026-09-17 22:50:01 +0200 |
| commit | 2dd8db66765e3eff5a6a9e0c016a70d55b55ea4b (patch) | |
| tree | 12e5934032b493cfc37f1b82dbedbd111204abf3 /lamp/tasks/RedHat-phpmyadmin.yml | |
| download | lamp-2dd8db66765e3eff5a6a9e0c016a70d55b55ea4b.tar.gz lamp-2dd8db66765e3eff5a6a9e0c016a70d55b55ea4b.zip | |
git initial
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 + |
