OpenBSD updates
This commit is contained in:
parent
0901858c0c
commit
88d8ffe8c1
|
@ -1,15 +1,11 @@
|
||||||
# Command to run to execute a Gentoo update
|
# Command to run to execute a OpenBSD update
|
||||||
cron_upgrade_job: emerge --sync --quiet && emerge --quiet-build -uvDN @world && /usr/sbin/perl-cleaner --all -q && emerge --quiet-build @preserved-rebuild && emerge --depclean && eselect news read
|
cron_upgrade_job: syspatch; pkg_add -Uu
|
||||||
|
|
||||||
# Tools to install on Gentoo hosts
|
# Tools to install on OpenBSD hosts
|
||||||
tools_package: []
|
#tools_package: []
|
||||||
# - vim
|
tools_package:
|
||||||
# - tcpdump
|
- vim
|
||||||
# - tmux
|
- curl
|
||||||
# - htop
|
- jq
|
||||||
# - sudo
|
- git
|
||||||
# - curl
|
|
||||||
# - awk
|
|
||||||
# - jq
|
|
||||||
# - mailutils
|
|
||||||
|
|
||||||
|
|
|
@ -6,4 +6,5 @@
|
||||||
when: auto_reboot
|
when: auto_reboot
|
||||||
|
|
||||||
- import_tasks: package.yml
|
- import_tasks: package.yml
|
||||||
|
when: ansible_os_family != 'OpenBSD'
|
||||||
- import_tasks: crontask.yml
|
- import_tasks: crontask.yml
|
||||||
|
|
3
roles/auto_reboot/vars/OpenBSD.yml
Normal file
3
roles/auto_reboot/vars/OpenBSD.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
cron_service_name: cron
|
||||||
|
cron_package: cron
|
|
@ -6,4 +6,5 @@
|
||||||
when: auto_upgrade
|
when: auto_upgrade
|
||||||
|
|
||||||
- import_tasks: package.yml
|
- import_tasks: package.yml
|
||||||
|
when: ansible_os_family != 'OpenBSD'
|
||||||
- import_tasks: crontask.yml
|
- import_tasks: crontask.yml
|
||||||
|
|
3
roles/auto_upgrade/vars/OpenBSD.yml
Normal file
3
roles/auto_upgrade/vars/OpenBSD.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
cron_service_name: cron
|
||||||
|
cron_package: cron
|
Loading…
Reference in a new issue