You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
---
|
|
|
|
- name: Configure yadm, Yet Another Dotfiles Manager
|
|
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:
|
|
yadm__enabled: True
|
|
yadm__dotfiles_enabled: True
|
|
|
|
yadm__upstream_enabled: True
|
|
yadm__upstream_version: '2.5.0'
|
|
|
|
# That be used in yadm.fact.j2 - python script for resolving ansible.local.yadm.dotfile git repo
|
|
yadm__dotfiles_host: vcs.wpstudio.ru
|
|
yadm__dotfiles_owner: gitea
|
|
yadm__default_dotfiles:
|
|
- name: 'gitea'
|
|
git: 'https://vcs.wpstudio.ru/gitea/dotfiles.git'
|
|
|
|
roles:
|
|
- role: keyring
|
|
tags: [ 'role::keyring', 'skip::keyring', 'role::yadm' ]
|
|
keyring__dependent_gpg_keys:
|
|
- '{{ yadm__keyring__dependent_gpg_keys }}'
|
|
|
|
- role: apt_preferences
|
|
tags: [ 'role::apt_preferences', 'skip::apt_preferences' ]
|
|
apt_preferences__dependent_list:
|
|
- '{{ yadm__apt_preferences__dependent_list }}'
|
|
|
|
- role: yadm
|
|
tags: [ 'role::yadm', 'skip::yadm' ]
|