Commit Graph

1715 Commits

Author SHA1 Message Date
9f2d80ffdb Migrate dokuwiki role 2020-02-20 05:27:49 -06:00
b77975c199 Migrate redirect to new https behavior 2020-02-20 05:27:03 -06:00
6ea78323b3 Reorganize roles in ec2 playbook 2020-02-20 05:26:32 -06:00
85b0b2e139 Only attempt to fulfill the challenge if we have to 2020-02-20 05:25:46 -06:00
e5a5f5efcd Also maybe https should use a directory that actually exists
Holy fuck
2020-02-20 04:32:30 -06:00
092e9ae470 Use a more PATH-dependent mv command in https
Dude what
I get through all this complex ACME configuration and misplace fucking mv of all things
2020-02-20 04:28:29 -06:00
70804ce728 Add acme_webroot to main playbook 2020-02-20 04:21:29 -06:00
e44a6126c8 Have the https role do all the config changing
Hopefully this should cut down on erroneous changes
2020-02-20 04:19:03 -06:00
d41b4ebbdf Turn upgrade fields in apt modules into strings
This fixes a small but annoying warning
2020-02-20 04:02:01 -06:00
e8b77345f7 Have redirect clean up its webroot when it finishes 2020-02-20 03:58:18 -06:00
508d7889ba Fix permissions with https keys and certs 2020-02-20 03:56:51 -06:00
e8cd7dc58a Do the same for gitweb role 2020-02-20 03:51:13 -06:00
cb4cb59f32 Remove force from ansiblehost cloning
Really not required
2020-02-20 03:50:19 -06:00
75ae2367d4 Separate module enable tasks in apache-php, enable headers 2020-02-20 03:49:06 -06:00
0f8ed190b7 Fix dokuwiki role clobbering existing installs
WHOOPS THAT'S KINDA BAD OH FUCK
2020-02-20 03:21:04 -06:00
1a8b0ff6be Add another desktop program 2020-02-18 02:53:12 -06:00
9ad7a4b5ec Add DokuWiki role
It deploys without issue, naisu
2020-02-18 02:39:55 -06:00
b2c402b97e Try to fix ansiblehost cronjob by setting HOME 2020-02-17 21:51:27 -06:00
b5ca563b6e Add more programs to desktop role
See, this is why I have to make it a role
I lose track of all this shit over time
2020-02-17 21:10:11 -06:00
a6173db75f Add more packages to desktop role 2020-02-17 20:28:38 -06:00
c1d31742a8 Add desktop setup role
Assumes a Kubuntu full installation
2020-02-17 16:15:45 -06:00
9bceb152f2 Have localhost-deploy ask for become pass
Makes sense given the context
2020-02-17 16:00:11 -06:00
4b4e0c81cb Separate vault passwords from the playbooks, fix ansibleupdate cronjob
Again
2020-02-14 15:40:31 -06:00
b54f52b47b Merge branch 'master' of gitlab.com:rehashedsalt/ansible 2020-02-14 03:18:24 -06:00
bbdaf54af1 Use absolute path on ansiblehost role cronjob
Ups
2020-02-14 03:18:11 -06:00
5034285ac2 Change ansiblehost role to rerun every 12 hours instead of 24
This renews certs at about the requested rate
Hopefully it doesn't break anything. I'm using LTS instances so it should be fine but you never know
2020-02-11 14:43:25 -06:00
9313f26fcb Add local Ansible setup role
Run with -K
2020-02-11 14:42:44 -06:00
4a7c91c361 Move roles around on main host
Which is currently misroled but whatever
2020-02-11 04:26:24 -06:00
bc1b618c05 More instances of bad variable naming 2020-02-11 04:25:42 -06:00
93fad9ab5c God fucking dammit 2020-02-11 04:22:50 -06:00
55cbc1eb2d Fix more bad variables from that copy
Oof
2020-02-11 04:20:25 -06:00
1ee8485b40 Remove leftovers from shamelessly copying a role
Whoops
2020-02-11 04:18:14 -06:00
728a6e4771 Add simple redirect role
And furnish that one, too
2020-02-11 04:16:57 -06:00
18627fbf39 Add simple git web deploy role
And, of course, furnish it
2020-02-11 04:06:29 -06:00
5e445fcd63 Scope variables in main playbook a bit better 2020-02-10 01:29:59 -06:00
90fcbf7cbc Move Apache-PHP to its own role, set up dependencies 2020-02-10 01:19:59 -06:00
685a20bca6 Move SSL-required package into https role 2020-02-10 01:05:38 -06:00
0758ac1908 Remove key from MySql role 2020-02-10 01:02:36 -06:00
3e52a522f3 Generalize https setup into its own role 2020-02-10 00:50:56 -06:00
427804d68b Log cronjob on ansiblehost role 2020-02-08 01:44:06 -06:00
f8c152ebc1 Add fullchain to configs 2020-02-06 14:14:56 -06:00
ec2216a4cb Fix quoting on cronjob 2020-02-06 04:05:34 -06:00
ae29a7f870 Remove deprecated NameVirtualHost 2020-02-06 03:57:35 -06:00
7a1010f389 Fix typo in cronjob minute 2020-02-06 03:47:10 -06:00
96b7f55e63 Set up Nextcloud cronjob 2020-02-06 03:44:37 -06:00
cffd0b38bb Enable strict transport security 2020-02-06 03:22:38 -06:00
67373adcaf Add php configs, also add an unused mysql config 2020-02-06 03:17:15 -06:00
331005ab24 Change nextcloud db name 2020-02-06 01:42:12 -06:00
fc7f10a9e6 Let's uh... actually use the variable we set 2020-02-06 01:16:54 -06:00
adbec68442 We're switchin to prod! 2020-02-06 01:12:23 -06:00