bootstrap-kodi2.yml 413 B

123456789101112131415
  1. ---
  2. - hosts: bootstrap
  3. gather_facts: false
  4. become: true
  5. vars:
  6. ansible_host_key_checking: false
  7. ansible_host_pattern_mismatch: ignore
  8. pre_tasks:
  9. - ansible.builtin.include_vars: ../vars/vault.yaml
  10. - ansible.builtin.include_vars: ../group_vars/kodi.yml
  11. roles:
  12. - kodi-config
  13. post_tasks:
  14. - ansible.builtin.reboot:
  15. reboot_command: /run/current-system/sw/bin/systemctl reboot