mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-07-30 06:39:51 +00:00
Delete roles
This commit is contained in:
30
ops/ansible/phpmyadmin.yml
Normal file
30
ops/ansible/phpmyadmin.yml
Normal file
@ -0,0 +1,30 @@
|
||||
---
|
||||
- hosts: hifive
|
||||
become: yes
|
||||
become_user: root
|
||||
roles:
|
||||
- { role: common }
|
||||
|
||||
tasks:
|
||||
- name: Install amazon epel
|
||||
command: amazon-linux-extras install epel -y
|
||||
|
||||
- name: Install phpMyAdmin
|
||||
yum:
|
||||
name: phpmyadmin
|
||||
state: latest
|
||||
|
||||
- name: Create phpMyAdmin.conf
|
||||
template:
|
||||
src: phpMyAdmin.j2
|
||||
dest: /etc/httpd/conf.d/phpMyAdmin.conf
|
||||
force: yes
|
||||
|
||||
#- name: Create .htaccess
|
||||
#htpasswd:
|
||||
#path: /usr/share/phpMyAdmin/.htaccess
|
||||
#name: hifive
|
||||
#password: hifive
|
||||
#owner: root
|
||||
#group: www-data
|
||||
#mode: 0640
|
Reference in New Issue
Block a user