Commit Graph

836 Commits

Author SHA1 Message Date
3e4f308a61 Add provisioning script
Alright, so I didn't see this coming, but it turns out because of the way I have my ansible-pull script set up, I can just lay it out on a host and it'll git pull and manage the rest itself
I'm like 'why is this thing taking so long to deploy', and it's because it's deploying twice
2020-06-21 10:13:40 -05:00
9486f331ca Configure ansible-pull AFTER setting up all of our common shit
god
dammit
2020-06-21 09:52:40 -05:00
43546438ac Initialize fedi1 2020-06-21 09:45:11 -05:00
e10116a689 Fix wrong forge version for new serb
Why oh why
was it CHANGED FOR 1.7.10 AND NOTHING ELSE
2020-06-20 23:27:48 -05:00
72164bd02c Fix hosts 2020-06-20 23:25:19 -05:00
a6b0a77ee6 Add another goddamn MC pack 2020-06-20 23:25:15 -05:00
7b73a146a1 Polish inventory names
Come to find out ansible-pull has not worked this entire time because the inventory names were bad
fml
2020-06-20 10:10:02 -05:00
bb59382d4c Remove pull tag
Fuck it, we're doing it all
2020-06-17 09:34:13 -05:00
33f5af534e Tag certain roles for pull remediation 2020-06-17 09:29:24 -05:00
62ea91fc7f Remove all references to ansiblehost 2020-06-17 09:26:13 -05:00
531b2e19dc Use proper hostname source when templating hosts
Because we turn around and invalidate nodename like immediately
2020-06-17 09:24:34 -05:00
71cfb5c2be Remove timebomb
grep -r -e 'here we go again'
2020-06-17 09:19:53 -05:00
3d91b4d752 Configure hostnames
oh boy here we go
2020-06-17 09:16:08 -05:00
8ea69fd3b4 Declare proper deps on ansible-pull role 2020-06-17 09:07:28 -05:00
c69954eeb5 Absolute our binary for ansible-pull timer
Because I guess we need to do that on 18.04
2020-06-17 09:04:20 -05:00
79102c5d0c More tweaking on that front 2020-06-17 09:03:47 -05:00
27e6cadb9a Work on switching to ansible in pull mode 2020-06-17 08:52:28 -05:00
2076233acf Unalways a bunch of stuff
Since localhost-deploy no longer uses tags, it's unnecessary
2020-06-16 11:05:32 -05:00
27bf645500 Rename root box to web1 2020-06-16 11:04:25 -05:00
cc9d1f0121 Set default username
Instead of setting facts like I should
2020-06-16 10:53:32 -05:00
7bc8cdbea4 Value home servers over those on the internet
lol
2020-06-16 10:44:01 -05:00
a6878699aa Fix using the wrong hosts god damMIT 2020-06-16 10:41:39 -05:00
4560ce168d Remove ansiblehost role from desktops
Kinda don't need it now that I'm getting managed by a magical box in the sky
2020-06-16 10:15:43 -05:00
7344050dde Fix reloading influxdb as normal user
derp
2020-06-16 10:09:16 -05:00
1ac644d8d1 Fix closing quote, rename sudoers config 2020-06-16 10:08:12 -05:00
8f15bf4f2b Make some tweaks, actually add our Ansible user 2020-06-16 10:04:54 -05:00
fe7b962ad7 Create mopidy config directory if it doesn't exist 2020-06-16 09:53:01 -05:00
af9d0da2ea Reorganize tasks in playbooks
always always always
2020-06-16 09:51:42 -05:00
ed9298fae4 Add zerotier roles to 9iron servers
I'm going to regret this, I know it
2020-06-16 09:48:07 -05:00
d6fa7c82ed Move zerotier network into inv vars for all 2020-06-16 09:47:10 -05:00
76d2c69fe5 Rename desktop.yml to obey new inventory naming 2020-06-16 09:45:56 -05:00
fa6b01b782 Add SSHD config for desktops 2020-06-16 09:42:27 -05:00
c1ad0bb498 Perms whups 2020-06-16 09:36:36 -05:00
6d05dc50d9 Add openssh server to default package list 2020-06-16 09:35:47 -05:00
f0a61e9538 Reorganize inventory, add ansible system user
Who is only used on my desktop hosts, obviously
2020-06-16 09:34:55 -05:00
f9826d2e9f Stop saying changed when I assert i386 arch 2020-06-16 09:18:14 -05:00
d3feeebb46 Stop trying to disable a news service that doesn't need disabling 2020-06-16 09:17:53 -05:00
afa7c651a8 Stop trying to configure zerotier in the wrong place 2020-06-16 09:15:48 -05:00
37a85f625f Move zerotier into its own role 2020-06-16 09:14:33 -05:00
e0169f8915 Add Zerotier to the list of things to do for desktops 2020-06-16 08:58:38 -05:00
59df24dc13 Add barrier
Sliiiiiiick
2020-06-16 08:50:26 -05:00
b8624e069f Set Mopidy volume to a much, much more reasonable level 2020-06-15 09:55:29 -05:00
1dae60f120 Actually use those spotify vars god dammit 2020-06-15 09:00:10 -05:00
4de750c106 Actually allow Mopidy to serve on an MPD socket
ups
2020-06-15 08:59:28 -05:00
160fa41d1a Make secrets less executable 2020-06-15 08:58:03 -05:00
a157988506 Make secrets secret 2020-06-15 08:56:20 -05:00
6db1c680fa Add mopidy to desktop role 2020-06-15 08:55:51 -05:00
f9a8c86b9c Separate package installation into its own task file, install mopidy stuff 2020-06-15 08:41:26 -05:00
e2d73a8427 Disable mopidy.service 2020-06-15 08:25:07 -05:00
90800438d7 Switch out MPD for Mopidy 2020-06-15 08:20:09 -05:00