bootstrap-kodi2.yml 433 B

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