+ latest extensions - deployed nginx, apache, php 74 & 81, nvm, automatic databases import and phpmyadmin with nginx basic auth
+ dhcp dnsmasq server playbook for create inner server network #861m7vaer Шаблон операционной системы на Debian 10
This commit is contained in:
24
playbooks/own/phpmyadmin.yml
Normal file
24
playbooks/own/phpmyadmin.yml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
|
||||
- name: Install PhpMyAdmin
|
||||
|
||||
collections: [ 'debops.debops', 'debops.roles01',
|
||||
'debops.roles02', 'debops.roles03' ]
|
||||
|
||||
hosts: [ 'debian10' ]
|
||||
|
||||
vars:
|
||||
- phpmyadmin_version: 5.2.1
|
||||
|
||||
# TODO: Set blowfish_secret and make access rights for ./tmp directory
|
||||
tasks:
|
||||
- name: 'Download phpMyAdmin {{ phpmyadmin_version }} into var/www dir and uncompress'
|
||||
become: true
|
||||
become_user: '{{ site_name }}'
|
||||
shell: |-
|
||||
cd /var/www
|
||||
rm -rf phpmyadmin
|
||||
wget -q https://files.phpmyadmin.net/phpMyAdmin/{{ phpmyadmin_version }}/phpMyAdmin-{{ phpmyadmin_version }}-all-languages.zip
|
||||
unzip -qq phpMyAdmin-{{ phpmyadmin_version }}-all-languages.zip
|
||||
rm phpMyAdmin-{{ phpmyadmin_version }}-all-languages.zip
|
||||
mv phpMyAdmin-{{ phpmyadmin_version }}-all-languages phpmyadmin
|
||||
Reference in New Issue
Block a user