Commit Graph

44 Commits

Author SHA1 Message Date
Joshua Boniface e4e084cc5b Fix name of task 2021-11-15 14:46:44 -05:00
Joshua Boniface 243c910d6d Unify and standardize inventory_hostname
This was causing some confusing conflicts, so create a new fact called
"this_node" which is inventory_hostname.split('.')[0], i.e. the short
name, and use that everywhere instead of an FQDN or true inventory
hostname.
2021-11-11 17:19:03 -05:00
Joshua Boniface fed71d7add Add option for setting CPU governor
Allows the administrator to set a CPU frequency governor if they need
to, though the default of ondemand is usually sufficient.
2021-11-08 00:21:58 -05:00
Joshua Boniface 319ca891d5 Add IPMI check to tasks 2021-11-02 22:04:51 -04:00
Joshua Boniface 8c3b5d7dab Add coordinator state to MOTD 2021-10-11 15:05:01 -04:00
Joshua Boniface 859cfbb51e Add smartmontools to base package list 2021-10-07 15:18:45 -04:00
Joshua Boniface d7b07925bb Fix bad flag 2021-09-09 13:07:15 -04:00
Joshua Boniface 77c84cec52 Add package installs for different Debian versions 2021-09-09 12:59:18 -04:00
Joshua Boniface a91112fa71 Move paths and keys to defaults 2021-08-24 15:25:42 -04:00
Joshua Boniface b33096202e Fix bad Ansible variable name 2021-07-18 17:49:42 -04:00
Joshua Boniface a1362c4363 Don't fail if IPMI tasks fail 2021-07-07 10:42:30 -04:00
Joshua Boniface 96544aabb8 Add GRUB, Plymouth themes and issue for PVC 2021-06-30 02:50:18 -04:00
Joshua Boniface 3d47b12b76 Add GRUB configuration to Ansible role 2021-06-29 17:48:55 -04:00
Joshua Boniface 10e8947cb0 Add ipmitool to packages list 2021-06-29 15:30:54 -04:00
Joshua Boniface 836c946c72 Use independent fact to work around codename 2021-06-07 10:54:55 -04:00
Joshua Boniface 8fa8590eb8 Ensure apt-update runs if configs update 2021-06-05 01:03:35 -04:00
Joshua Boniface 9dc0949b47 Add bullseye support 2021-06-05 00:56:02 -04:00
Joshua Boniface 9deee94332 Update tags and fix backup keys to var 2021-05-27 12:29:19 -04:00
Joshua Boniface 7536732f30 Remove GRUB config from base role
This is not actually ideal.
2021-05-12 14:55:57 -04:00
Joshua Boniface 45322e0f9e Add additional items to base role
Backups, GRUB configuration, and IPMI configuration.
2021-05-12 13:53:15 -04:00
Joshua Boniface ce3554b530 Allow customization of deploy username 2021-04-13 11:30:42 -04:00
Joshua Boniface 3819cd87fd Move to more dynamic apt configs
Allow specifying repository URLs in the group_vars, and add
release-specific template files to support future version changes.
2021-04-08 14:14:25 -04:00
Joshua Boniface 6598637e91 Remove cruft and add mkpasswd setup 2021-04-08 13:46:30 -04:00
Joshua Boniface dcd0b48d94 Correct bad indentation in base role 2021-03-18 09:36:49 -04:00
Joshua Boniface ca3a5e144f Update tags and add kernel-cleanup script 2021-02-02 15:41:38 -05:00
Joshua Boniface f4974d648d Add some additional compression libraries 2021-01-28 13:34:58 -05:00
Joshua Boniface da8c357d38 Add PVC status MOTD script 2020-11-17 12:48:53 -05:00
Joshua Boniface 9f84609808 Set proper mode on agent plugins 2020-10-27 15:48:57 -04:00
Joshua Boniface 2d1b76ecdf Add check-mk-agent plugin installs
These are used by various Ansible tasks, even if the administrator is
not using Check_MK for monitoring.
2020-10-27 15:41:20 -04:00
Joshua Boniface 2b0398dec8 Add PCI and USB utils 2020-10-05 16:10:10 -04:00
Joshua Boniface 646219737c Ensure uuid-runtime is installed 2020-05-12 11:15:01 -04:00
Joshua Boniface 417dde5b1b Remove obsolete issue-gen script on install 2020-04-06 13:55:51 -04:00
Joshua Boniface 129219faff Don't remove nano 2020-01-13 09:17:38 -05:00
Joshua Boniface 1570ccd370 Set timezone to be a variable 2019-12-24 09:09:11 -05:00
Joshua Boniface 2b54feb4bf Always perform the apt-update 2019-07-10 22:56:58 -04:00
Joshua Boniface a9b2942027 Add templating of network interfaces
Closes #1
2019-07-04 11:19:49 -04:00
Joshua Boniface cec1d5ebe5 Remove unattended upgrades 2019-06-25 22:13:07 -04:00
Joshua Boniface e3ed5675a9 Consistent newhost format between roles 2019-06-18 10:47:40 -04:00
Joshua Boniface e8b5db4c9a Remove buster pre-release tweaks
Buster is now consistent in this regard
2019-06-17 22:54:51 -04:00
Joshua Boniface 1fb481f4fb Use separate bootstrap files for base and pvc roles 2019-06-17 21:59:50 -04:00
Joshua Boniface 296090d806 Don't subset the re-setup 2019-06-17 10:39:51 -04:00
Joshua Boniface 67915099ca Gather all facts; flush handlers at end 2019-06-16 03:00:11 -04:00
Joshua Boniface 97d94fe3f2 Fix up some weird issues 2019-06-10 15:07:18 -04:00
Joshua Boniface 8ac0776a8e Initial commit of PVC Ansible role 2019-06-09 00:52:18 -04:00