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

  1. ---
  2. - name: Configure yadm, Yet Another Dotfiles Manager
  3. collections: [ 'debops.debops', 'debops.roles01',
  4. 'debops.roles02', 'debops.roles03' ]
  5. hosts: [ 'debian10' ]
  6. become: True
  7. environment: '{{ inventory__environment | d({})
  8. | combine(inventory__group_environment | d({}))
  9. | combine(inventory__host_environment | d({})) }}'
  10. vars:
  11. yadm__enabled: True
  12. yadm__dotfiles_enabled: True
  13. yadm__upstream_enabled: True
  14. yadm__upstream_version: '2.5.0'
  15. # That be used in yadm.fact.j2 - python script for resolving ansible.local.yadm.dotfile git repo
  16. yadm__dotfiles_host: vcs.wpstudio.ru
  17. yadm__dotfiles_owner: gitea
  18. yadm__default_dotfiles:
  19. - name: 'gitea'
  20. git: 'https://vcs.wpstudio.ru/gitea/dotfiles.git'
  21. roles:
  22. - role: keyring
  23. tags: [ 'role::keyring', 'skip::keyring', 'role::yadm' ]
  24. keyring__dependent_gpg_keys:
  25. - '{{ yadm__keyring__dependent_gpg_keys }}'
  26. - role: apt_preferences
  27. tags: [ 'role::apt_preferences', 'skip::apt_preferences' ]
  28. apt_preferences__dependent_list:
  29. - '{{ yadm__apt_preferences__dependent_list }}'
  30. - role: yadm
  31. tags: [ 'role::yadm', 'skip::yadm' ]