2021-12-15 16:29:48 +01:00
# EvoBSD
2018-12-28 11:23:49 +01:00
2021-12-17 16:09:25 +01:00
EvoBSD is an ansible project used for customising OpenBSD hosts used by Evolix.
2018-12-28 11:23:49 +01:00
## How to install an OpenBSD machine
2018-12-31 15:15:05 +01:00
**Note :** The system must be installed with a root account only.
2018-12-28 11:23:49 +01:00
2020-06-04 19:23:06 +02:00
1. Install ansible's prerequisites
2018-12-28 11:23:49 +01:00
```
ansible-playbook prerequisite.yml -CDi hosts -l HOSTNAME
```
2020-06-04 19:23:06 +02:00
2. Run it
2018-12-28 11:23:49 +01:00
2021-12-17 16:09:25 +01:00
The variables files evolix-main.yml and evolinux-secrets.yml are customized variables for Evolix that overwrite main.yml variables. They are not needed if you are not from Evolix.
2020-10-23 11:40:22 +02:00
First use (become_method: su) :
2020-09-10 11:54:21 +02:00
```
2020-10-23 11:40:22 +02:00
ansible-playbook evolixisation.yml --ask-vault-pass -CDki hosts -u root -l HOSTNAME
2020-09-10 11:54:21 +02:00
```
Subsequent use (become_method: sudo) :
2018-12-28 11:23:49 +01:00
```
2020-10-23 11:40:22 +02:00
ansible-playbook evolixisation.yml --ask-vault-pass -CDKi hosts --skip-tags pf -l HOSTNAME
2018-12-28 11:23:49 +01:00
```
2022-06-23 18:35:39 +02:00
## How to update scripts
2022-07-21 14:45:06 +02:00
Several tags in the format `*utils` are configured to update the different scripts, to be used with the update-utils.yml playbook :
2022-06-23 18:35:39 +02:00
* utils : update scripts from base role, utils.yml task
* motd-utils : update script from post-install role, motd.yml task
2022-09-01 17:05:20 +02:00
* evomaintenance-utils : update scripts from evomaintenance role, main.yml task
2022-06-23 18:35:39 +02:00
* evocheck-utils : update scripts from evocheck role, main.yml task
* nagios-nrpe-utils : update scripts and checks from nagios-nrpe role, main.yml task
* etc-git-utils : update scripts from etc-git role, utils.yml task
2018-12-28 11:23:49 +01:00
## Contributions
2021-12-17 16:09:25 +01:00
2019-01-03 18:53:58 +01:00
See the [contribution guidelines ](CONTRIBUTING.md )
2018-12-28 11:23:49 +01:00
2018-12-31 15:15:05 +01:00
## License
2018-12-28 11:23:49 +01:00
2019-01-02 14:35:20 +01:00
[MIT License ](LICENSE )