* conditional logic for nginx www redirect
+ use lxc_host & ssh proxying for resolve connection to inner lxc host in proxmox + bash helper for launch playbooks + nginx html default template * create databases moved into own custom variables + new using debops roles: yadm (dotfiles), sudo, root_account, system_users #861m7vaer Шаблон операционной системы на Debian 10
This commit is contained in:
2
vars/.gitignore
vendored
Normal file
2
vars/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*
|
||||
!*-example.yml
|
7
vars/databases-example.yml
Normal file
7
vars/databases-example.yml
Normal file
@ -0,0 +1,7 @@
|
||||
mariadb__databases:
|
||||
- name: '{{ lxc_host }}'
|
||||
|
||||
mariadb__users:
|
||||
- name: '{{ lxc_host }}'
|
||||
host: '%'
|
||||
database: '{{ lxc_host }}%'
|
1
vars/nginx-example.yml
Normal file
1
vars/nginx-example.yml
Normal file
@ -0,0 +1 @@
|
||||
nginx_www_redirect: False
|
4
vars/sudo-example.yml
Normal file
4
vars/sudo-example.yml
Normal file
@ -0,0 +1,4 @@
|
||||
sudo__sudoers:
|
||||
- name: '{{ lxc_host }}-nopasswd'
|
||||
raw: |
|
||||
{{ lxc_host }} ALL=(ALL) NOPASSWD: ALL
|
9
vars/system_users-example.yml
Normal file
9
vars/system_users-example.yml
Normal file
@ -0,0 +1,9 @@
|
||||
system_users__groups:
|
||||
- name: '{{ lxc_host }}'
|
||||
user: False
|
||||
|
||||
system_users__accounts:
|
||||
- name: '{{ lxc_host }}'
|
||||
group: '{{ lxc_host }}'
|
||||
admin: True
|
||||
shell: '/bin/bash'
|
Reference in New Issue
Block a user