+ 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:
34
playbooks/debops/system_users.yml
Normal file
34
playbooks/debops/system_users.yml
Normal file
@ -0,0 +1,34 @@
|
||||
---
|
||||
|
||||
- name: Manage local users and groups
|
||||
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:
|
||||
system_users__self: False
|
||||
system_users__dotfiles_enabled: True
|
||||
system_users__dotfiles_repo: 'https://vcs.wpstudio.ru/gitea/dotfiles.git'
|
||||
|
||||
vars_files:
|
||||
- ./../../vars/system_users.yml
|
||||
|
||||
post_tasks:
|
||||
- name: Change starship character to dollar sign
|
||||
shell: |
|
||||
sed -i 's/#/\\\\$/g' /home/{{ site_name }}/.config/starship.toml
|
||||
args:
|
||||
executable: /bin/bash
|
||||
|
||||
roles:
|
||||
|
||||
- role: libuser
|
||||
tags: [ 'role::libuser', 'skip::libuser' ]
|
||||
|
||||
- role: system_users
|
||||
tags: [ 'role::system_users', 'skip::system_users' ]
|
||||
Reference in New Issue
Block a user