Commit Graph

563 Commits

Author SHA1 Message Date
Joshua Boniface 6d75b33d17 Correct bugs with Patroni tasks on Ansible 2.14 2024-11-07 02:01:03 -05:00
Joshua Boniface f5fe9c1f70 Ignore errors on stupid tasks 2024-11-04 16:03:37 -05:00
Joshua Boniface fe050509c0 Add missing tags from main tasks 2024-11-03 15:40:29 -05:00
Joshua Boniface e4a0e0be7c Add needrestart override for PVC daemons 2024-11-03 15:38:41 -05:00
Joshua Boniface 36fcdd151b Improve PostgreSQL migration
Just dump and reimport the database, it's easier.
2024-10-29 13:46:22 -04:00
Joshua Boniface cbb2352b01 Avoid error if noded version doesn't work 2024-10-29 11:32:32 -04:00
Joshua Boniface 662083d87e Update README badge order 2024-10-25 23:47:49 -04:00
Joshua Boniface c53043f79d Update README 2024-10-25 23:44:15 -04:00
Joshua Boniface 8f6a59d1ba Update comments in default group_vars 2024-10-25 23:41:04 -04:00
Joshua Boniface 9fe3e438ec Update README to match other repositories 2024-10-25 23:40:50 -04:00
Joshua Boniface 463c1985d3 Add additional wait time 2024-10-15 11:18:18 -04:00
Joshua Boniface b4c2b9bdf8 Lower sync and init tick limits
Lower both of these to 5 seconds to ensure Zookeeper doesn't linger on
startup or synchronization while pvcnoded is starting up (15s in
0.9.101).
2024-10-15 11:11:10 -04:00
Joshua Boniface d82d057956 Remove ALL the quotes 2024-09-27 23:52:46 -04:00
Joshua Boniface 597f9bdb92 Remove quotes from example 2024-09-27 23:51:28 -04:00
Joshua Boniface 4fed4ecc64 Add support for arbitrary NIC options
And add a proper example to the default group_vars.
2024-09-27 23:47:07 -04:00
Joshua Boniface 1925100589 Add gunicorn install to update playbook 2024-09-19 16:16:37 -04:00
Joshua Boniface c2dfb2d30e Update README note for latest versions 2024-09-05 04:10:23 -04:00
Joshua Boniface 6b390d7082 Fix issue with newhost inverse definition 2024-09-05 01:27:31 -04:00
Joshua Boniface 31728c0915 Fix unsafe conditional 2024-09-03 21:24:56 -04:00
Joshua Boniface 8f5e162fd6 Skip update-motd and update-issue run on bootstrap 2024-08-30 12:16:35 -04:00
Joshua Boniface 506d2ada49 Fix typo in script 2024-08-30 11:07:49 -04:00
Joshua Boniface ce82f72241 Ensure schema updates are run after upgrade 2024-08-29 02:57:12 -04:00
Joshua Boniface f85136ed62 Add final role runs to normalize cluster 2024-08-29 02:33:30 -04:00
Joshua Boniface 805477b8be Ignore more errors for user: module 2024-08-29 01:08:44 -04:00
Joshua Boniface 65af8ef149 Ignore errors on all user commands
After a D10->D12 upgrade, these all fail. Let them.
2024-08-29 01:02:01 -04:00
Joshua Boniface 6f2aeed3c9 Avoid failing if setting root password fails 2024-08-29 00:55:55 -04:00
Joshua Boniface beef030656 Fix ansible_lsb call on Debian 10
Fails due to empty ansible_lsb, so skip it
2024-08-29 00:13:46 -04:00
Joshua Boniface f00b43f20f Add extra waits before unsetting maintenance
Avoids issues after restarting the API.
2024-08-28 12:42:01 -04:00
Joshua Boniface 4e59ad5efe Remove obsolete upgrade script
Debian 11 is now deprecated.
2024-08-28 12:41:50 -04:00
Joshua Boniface e35842675f Add new is-primary condition to autobackup timers
Avoids running these except on the primary coordinator at the time of
firing, to avoid duplicate runs being passed to pvcworkerd.
2024-08-25 22:18:20 -04:00
Joshua Boniface b395f47852 Ensure pvcapid is restarted after migrations 2024-08-20 09:23:37 -04:00
Joshua Boniface a54c730662 Add retries to ipmitool output 2024-07-29 01:04:55 -04:00
Joshua Boniface 7f32414675 Add role run to initial D12 upgrade
Avoids errors failing out later if there are any issues with these
roles, and ensures the system is fully updated before the actual Debian
upgrades.
2024-06-29 02:31:43 -04:00
Joshua Boniface e26a2f3ca5 Update aptitude -> apt references 2024-06-29 01:33:36 -04:00
Joshua Boniface 7026cee4d3 Remove aptitude from nodes 2024-06-29 01:31:27 -04:00
Joshua Boniface 223faa82b8 Warn about requiring jmespath on controller 2024-06-29 00:46:11 -04:00
Joshua Boniface 0b2cd2a2e3 Fix bad echo output format 2024-05-24 14:48:31 -04:00
Joshua Boniface e65e519d69 Remove version entries from issue 2024-05-24 14:47:16 -04:00
Joshua Boniface 2e5d23fd74 Switch to dynamic /etc/issue generator 2024-05-24 10:36:19 -04:00
Joshua Boniface 1cd155885a Update to fancier /etc/issue 2024-05-23 17:06:38 -04:00
Joshua Boniface cc2fb44689 Lower default pgnum and pgpnum to 32 2024-03-27 11:11:50 -04:00
Joshua Boniface 7136229536 Add wait to service restarts 2024-03-26 17:11:21 -04:00
Joshua Boniface c74af55d87 Fully split ntp and ntpsec configs
And fix ntpsec config to properly work in Debian 12+.
2024-03-07 14:24:05 -05:00
Joshua Boniface 7cf1806bcb Add force to that 2024-03-07 13:56:21 -05:00
Joshua Boniface e8eaf2c058 Fix ntpsec configuration on Debian 12 2024-03-07 13:55:07 -05:00
Joshua Boniface fcb4096f19 Ensure directory is created first 2024-03-07 13:34:23 -05:00
Joshua Boniface 5a3233a905 Fix shutdown bug with keydb 2024-03-07 13:21:10 -05:00
Joshua Boniface 1ce5d033b4 Use .gpg 2024-02-13 11:05:40 -05:00
Joshua Boniface 00983e3b59 Update key location 2024-02-13 11:03:24 -05:00
Joshua Boniface e326639e18 Become primary and apply migrations on first node 2024-02-12 11:51:03 -05:00