EvoBSD/evolixisation.yml

47 lines
992 B
YAML
Raw Normal View History

# yamllint disable rule:line-length
2018-12-28 11:23:49 +01:00
# Playbook command
# First use :
# ansible-playbook evolixisation.yml --ask-vault-pass -CDki hosts -u root -l HOSTNAME
# Subsequent use :
# ansible-playbook evolixisation.yml --ask-vault-pass -CDKi hosts --skip-tags pf -l HOSTNAME
2018-12-28 11:23:49 +01:00
---
- name: Evolixisation of an OpenBSD system
hosts: openbsd
become: true
become_user: root
become_method: sudo
vars_files:
- vars/main.yml
- vars/evolix-main.yml
- vars/evolinux-secrets.yml
2018-12-28 11:23:49 +01:00
vars:
client_number: "XXX"
monitoring_mode: "everytime"
2018-12-28 11:23:49 +01:00
roles:
- etc-git
- base
- forwarding
- pf
- accounts
- nagios-nrpe
- evocheck
2018-12-28 11:23:49 +01:00
- post-install
# - ospf
# - bgp
2020-04-21 19:30:06 +02:00
# - { role: collectd, collectd_server: "127.0.0.1" }
2018-12-28 11:23:49 +01:00
post_tasks:
- include_role:
name: etc-git
tasks_from: commit.yml
2018-12-28 11:23:49 +01:00
vars:
commit_message: "Ansible post-run evolisation.yml"
- include_role:
name: evocheck
tasks_from: exec.yml