+ dhcp dnsmasq server playbook for create inner server network #861m7vaer Шаблон операционной системы на Debian 10
27 lines
1.2 KiB
YAML
27 lines
1.2 KiB
YAML
---
|
||
|
||
- name: Manage root system account
|
||
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:
|
||
root_account__enabled: True
|
||
# root_account__dotfiles_enabled: True
|
||
# root_account__dotfiles_repo: 'https://vcs.wpstudio.ru/gitea/dotfiles.git'
|
||
|
||
post_tasks:
|
||
- name: Tmux Plugins Manager
|
||
# Вообще это конструкция не нужна, так как tmux и сам все прекрасно умеет устанавливать, только если бы у него в этот момент была программа git
|
||
# Хотя нет, блин, нихрена он не умеет. Последнюю команду он почему не запускает: ~/.tmux/plugins/tpm/bin/install_plugins
|
||
shell: test -d ~/.tmux/plugins/tpm || git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins
|
||
|
||
roles:
|
||
- role: root_account
|
||
tags: [ 'role::root_account', 'skip::root_account' ]
|