+ 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:
36
playbooks/debops/pki.yml
Normal file
36
playbooks/debops/pki.yml
Normal file
@ -0,0 +1,36 @@
|
||||
---
|
||||
|
||||
- name: Manage Public Key Infrastructure
|
||||
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:
|
||||
pki_internal: True
|
||||
pki_acme: False
|
||||
|
||||
pre_tasks:
|
||||
|
||||
- name: Prepare pki environment
|
||||
import_role:
|
||||
name: 'pki'
|
||||
tasks_from: 'main_env'
|
||||
tags: [ 'role::pki', 'role::pki:secret', 'role::secret' ]
|
||||
|
||||
roles:
|
||||
|
||||
- role: secret
|
||||
tags: [ 'role::secret', 'role::pki', 'role::pki:secret' ]
|
||||
secret_directories:
|
||||
- '{{ pki_env_secret_directories }}'
|
||||
|
||||
- role: cron
|
||||
tags: [ 'role::cron', 'skip::cron' ]
|
||||
|
||||
- role: pki
|
||||
tags: [ 'role::pki', 'skip::pki' ]
|
||||
Reference in New Issue
Block a user