diff options
| author | jerome <jerome@xlinfo.fr> | 2025-02-07 11:40:40 +0100 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2025-02-07 11:40:40 +0100 |
| commit | 69b3a2cf08873de59883e3c2661ea1b57726eee3 (patch) | |
| tree | 79824f61bf1a6b556d85fd652f3b6ead787a4744 /playbooks/lamp/tasks/RedHat-phpmyadmin.yml | |
| download | terraform-ansible-69b3a2cf08873de59883e3c2661ea1b57726eee3.tar.gz terraform-ansible-69b3a2cf08873de59883e3c2661ea1b57726eee3.zip | |
premier commit
Diffstat (limited to 'playbooks/lamp/tasks/RedHat-phpmyadmin.yml')
| -rw-r--r-- | playbooks/lamp/tasks/RedHat-phpmyadmin.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/playbooks/lamp/tasks/RedHat-phpmyadmin.yml b/playbooks/lamp/tasks/RedHat-phpmyadmin.yml new file mode 100644 index 0000000..569ddd2 --- /dev/null +++ b/playbooks/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 + |
