EvoBSD is a set of Ansible playbooks and roles providing a customisation of the OpenBSD operating system used by Evolix.
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.
 
 
 
 

46 lines
1.1 KiB

  1. # yamllint disable rule:line-length
  2. # Playbook command
  3. # First use (become_method: su) :
  4. # ansible-playbook evolixisation.yml --ask-vault-pass -CDki hosts -u root -l HOSTNAME
  5. # Subsequent use (become_method: sudo) :
  6. # ansible-playbook evolixisation.yml --ask-vault-pass -CDKi hosts --skip-tags pf -l HOSTNAME
  7. ---
  8. - name: Evolixisation of an OpenBSD system
  9. hosts: openbsd
  10. become: true
  11. become_user: root
  12. become_method: sudo
  13. # become_method: su
  14. vars_files:
  15. - vars/main.yml
  16. - vars/secrets.yml
  17. - vars/openbsd-secret.yml
  18. roles:
  19. - etc-git
  20. - base
  21. - forwarding
  22. - pf
  23. - accounts
  24. - nagios-nrpe
  25. - evocheck
  26. - post-install
  27. # - openvpn
  28. # - ospf
  29. # - bgp
  30. # - { role: collectd, collectd_server: "127.0.0.1" }
  31. post_tasks:
  32. - include: "tasks/commit_etc_git.yml"
  33. vars:
  34. commit_message: "Ansible - Evolixisation"
  35. - include_role:
  36. name: evocheck
  37. tasks_from: exec.yml
  38. # environment:
  39. # PKG_PATH: "http://ftp.openbsd.org/pub/OpenBSD/{{ ansible_distribution_version }}/packages/{{ ansible_architecture }}/"