---

- 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__password: False
    root_account__dotfiles_enabled: True
    root_account__dotfiles_repo: 'https://vcs.wpstudio.ru/gitea/dotfiles.git'

  roles:
    - role: root_account
      tags: [ 'role::root_account', 'skip::root_account' ]