Commit Graph

1551 Commits

Author SHA1 Message Date
caadf375f2 Add basic site checks 2021-08-08 12:35:35 -05:00
be7d1a24d6 Auto-restart nagios when its config changes 2021-08-08 12:15:10 -05:00
e3c5c00272 Fix not including the zerotier playbook 2021-08-08 02:28:22 -05:00
4c2bfb996c Actually add that Nagios template 2021-08-08 02:24:59 -05:00
e968d4a7cf Fix up that jank config and make it actually totally usable 2021-08-08 01:20:48 -05:00
2f06fe61e0 Add pynetbox to important things 2021-08-08 00:30:41 -05:00
5d5cab59eb Add Nagios and some dysfunctional templating code 2021-08-08 00:28:25 -05:00
691a934297 Genericize the inclusion of libraspberrypi-bin 2021-08-07 17:23:15 -05:00
d68e3430a8 Modularize zerotier as well 2021-08-07 17:14:28 -05:00
759df2f593 Allow for dynamic tagging of ansible-pull hosts 2021-08-07 17:09:20 -05:00
07ea9806da Docker goes on everything 2021-08-07 16:55:28 -05:00
38f70d0fca Unify motd definition 2021-08-07 16:52:19 -05:00
30dd4ff8dc Divide webservices into task files 2021-08-07 16:49:24 -05:00
69f3edcf2b Clean out deprecated k8s garbage 2021-08-07 16:31:36 -05:00
55304ac4d9 Rename pistorage to tags_pistorage 2021-08-07 12:16:07 -05:00
340da1926e Move gameservers into task files 2021-08-07 12:08:29 -05:00
d6328146b3 Add nfs-common to common role 2021-08-07 11:52:03 -05:00
caabd61057 Revert "Break out testing into its own triple-parallelized flow"
This reverts commit 9e5e2a23d4.
2021-08-05 11:50:08 -05:00
9e5e2a23d4 Break out testing into its own triple-parallelized flow 2021-08-05 01:27:41 -05:00
0c1fab838f Run test plays on scheduled jobs
It makes sense to skip the test on a pipeline since it just
signifies an application update or a re-run and probably wants
to complete quickly. It does not make sense to get rid of our
safeguards on a job that runs at 1AM every night.
2021-08-05 01:10:37 -05:00
51b9ee745f Spin botaniapack2 back up 2021-08-03 16:04:10 -05:00
965f57293a Genericize vars to device roles rather than tags 2021-08-02 15:47:18 -05:00
1955bc189e Re-add hostvars for k8s cluster 2021-08-02 15:45:59 -05:00
de8c216dbf Fix incorrect tag naming for k8s Pis 2021-08-02 11:00:37 -05:00
818450692c Move var file for Pis 2021-08-01 23:12:04 -05:00
0c03676830 Remove deprecated inventory
If I need it, I'll check git history
2021-08-01 23:09:20 -05:00
c831a76517 Remove netbox DB creds from pi-storage-1 2021-08-01 23:07:44 -05:00
73eb2b30f7 Fix incorrect ansible user on generated inventory 2021-08-01 22:40:52 -05:00
ccad04d544 Attempt to pivot to a Netbox-based inventory solution 2021-08-01 22:28:39 -05:00
4489e87a7b Add netbox collection 2021-08-01 21:43:54 -05:00
cbae3438a9 Move requirements.yml to root 2021-08-01 21:39:36 -05:00
3051d8a299 Provision (read: move) Netbox to desu.ltd 2021-08-01 21:35:41 -05:00
489cf1a8de Provision web3 2021-08-01 20:32:40 -05:00
ba321f0e91 Add Terraform stuff 2021-08-01 19:36:39 -05:00
c79ebf295d Add Terraform repo, Terraform, and tag desktop role nicely 2021-08-01 19:30:13 -05:00
ce034d28b0 Also, only those hosts that use ansible-pull should pull the repo to /etc/ansible 2021-08-01 15:07:02 -05:00
79220bef76 Disable ansible-pull for most systems
From now on, nightly plays triggered by GitLab will be standard.
Desktops will still use an ansible-pull configuration as there is
no guarantee that they will be available at 1AM.
2021-08-01 15:00:05 -05:00
a777f8c343 Disable them for schedules too 2021-08-01 14:56:59 -05:00
ea38c0de82 Disable lints and tests for pipelines 2021-08-01 14:55:25 -05:00
56d240706d Skip instead of warning on package-latest violations 2021-08-01 13:43:58 -05:00
708a27926b Correct yaml errors in gitlab CI 2021-08-01 13:38:23 -05:00
815e1bcda1 Add full-blown unreachability checking 2021-08-01 13:35:08 -05:00
22eadcb6e2 Actually echo out those return codes 2021-08-01 13:32:26 -05:00
3cf945c58f Revert installing Ansible from apt and try a different approach to reduce build times 2021-08-01 12:50:59 -05:00
00303ebcc1 Remove colon 2021-08-01 12:43:52 -05:00
1d14702333 Use Ansible from Ubuntu repos, unmask error code for pushes 2021-08-01 12:41:46 -05:00
4a0a210138 Remove pi-gp-1 2021-08-01 12:37:43 -05:00
1ef715f52e Disable botaniapack2 2021-08-01 12:32:24 -05:00
f804f68649 Mark lint and test stages as interruptible 2021-07-31 21:04:25 -05:00
5eba9655c7 Add some sleeps to give the service time to start up 2021-07-31 20:46:58 -05:00