+ 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:
38
playbooks/debops/mariadb-custom-db.yml
Normal file
38
playbooks/debops/mariadb-custom-db.yml
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
|
||||
- name: Manage MariaDB client
|
||||
collections: [ 'debops.debops', 'debops.roles01',
|
||||
'debops.roles02', 'debops.roles03' ]
|
||||
hosts: [ 'debian10' ]
|
||||
become: True
|
||||
|
||||
environment: '{{ inventory__environment | d({})
|
||||
| combine(inventory__group_environment | d({}))
|
||||
| combine(inventory__host_environment | d({})) }}'
|
||||
|
||||
|
||||
vars:
|
||||
mariadb__flavor: '{{ ansible_local.mariadb.flavor|d(mariadb__flavor_map[ansible_distribution_release] | d("mariadb")) }}'
|
||||
mariadb__upstream_version: '10.5'
|
||||
|
||||
vars_files:
|
||||
- ./../../vars/databases.yml
|
||||
|
||||
roles:
|
||||
|
||||
- role: secret
|
||||
|
||||
- role: keyring
|
||||
tags: [ 'role::keyring', 'skip::keyring', 'role::mariadb' ]
|
||||
keyring__dependent_apt_keys:
|
||||
- '{{ mariadb__keyring__dependent_apt_keys }}'
|
||||
|
||||
- role: python
|
||||
tags: [ 'role::python', 'skip::python', 'role::mariadb' ]
|
||||
python__dependent_packages3:
|
||||
- '{{ mariadb__python__dependent_packages3 }}'
|
||||
python__dependent_packages2:
|
||||
- '{{ mariadb__python__dependent_packages2 }}'
|
||||
|
||||
- role: mariadb
|
||||
tags: [ 'role::mariadb', 'skip::mariadb' ]
|
||||
Reference in New Issue
Block a user