532 Commits

Author SHA1 Message Date
396f6cd711 Partition FreeBSD cron jobs. Add security update. 2021-02-06 11:02:29 -06:00
248855feda Moce cron jobs from root to ansible now that permissions are fixed. 2021-02-06 09:58:18 -06:00
6e12534299 Fix ansible sudoer permissions. 2021-02-06 09:42:47 -06:00
1a43936c6b Provide method for non-SSHFS machines to report. 2021-02-06 09:18:23 -06:00
16b966b52c Change names. Add explicit present to sudo group. 2021-02-06 08:16:31 -06:00
8087db0400 Update names, add chmod. 2021-02-06 08:11:33 -06:00
04e2a23919 New report for knowing when system last pulled repo. 2021-02-06 08:08:32 -06:00
62aefb0ffb Dangit, cancelled the ansible-pull job again. Also fix root cron being done twice. 2021-02-06 07:49:11 -06:00
fc3953ae29 Adjust report permissions. 2021-02-06 07:37:31 -06:00
5030ebfbdf Try running in bash to clean up weird characters. 2021-02-06 07:27:57 -06:00
c1abb33688 Use variable in all commands. 2021-02-06 07:19:58 -06:00
4ffc25c804 Save reports and heartbeat to 1337 drive. Fix some fact names. 2021-02-06 07:16:19 -06:00
f46d2495f2 More 1337 share work. 2021-02-06 07:00:47 -06:00
638ee2a746 Fix mounting 1337 on FreeBSD. Adjust flatpak commands to use firefox-esr. 2021-02-06 06:48:59 -06:00
34d8684840 Remove junk from nmap results. 2021-02-03 21:39:24 -06:00
3edada0912 Fix ansible cron (again). 2021-02-03 21:32:03 -06:00
e24487aabb Add nmap test. 2021-02-03 21:29:45 -06:00
86e1881090 General FreeBSD and account improvements. 2021-02-03 21:17:48 -06:00
95024e6400 Use double equal. Work has me so spoiled. 2021-02-03 12:52:08 -06:00
9137f6b762 Exclude FreeBSD for now. 2021-02-03 12:50:29 -06:00
01b0fb21df Add nmap. 2021-02-03 12:44:06 -06:00
ee8733c862 Sudo needs to be installed. Move it out of the disabled updates section. 2021-02-03 12:38:42 -06:00
de1c43e7d9 Start moving back to blocks, easier to manage comments. 2021-02-03 08:03:12 -06:00
1a4a176933 Reorganization including fixing blockinfile being used multiple times on the same file causing entries to get overwritten. 2021-02-03 07:36:51 -06:00
bb242098db Fix dash in variable name. Update hosts file. Better names in local. 2021-02-02 21:31:45 -06:00
2951b687ae Better names. :) 2021-02-02 21:28:17 -06:00
b221478f35 Add args. 2021-02-02 21:12:44 -06:00
842cb686bc Indent warn. 2021-02-02 21:10:56 -06:00
d28cdd5d53 Do not warn on mount all. Mount module not sufficient. 2021-02-02 21:09:18 -06:00
6f2361832a Use bash_exec fact for more. 2021-02-02 21:05:46 -06:00
4661e114eb Do not force new key (not supported in FreeBSD 11). Add mount to mount. 2021-02-02 21:00:06 -06:00
fddb6e4b96 Only use the output. 2021-02-02 20:55:06 -06:00
f9eeccb3e7 Use variable for bash location. Different on FreeBSD 11 (userspace) vs 12 (system)? 2021-02-02 20:51:28 -06:00
6633e62c77 Split package facts between CLI and UI. 2021-02-02 20:44:31 -06:00
668fd67fd0 Make locate package a variable. Does not need installed on FreeBSD so checking if blank is OK. 2021-02-02 20:22:36 -06:00
64c7593ce3 Use file for creating the 1337 mount. 2021-02-01 08:17:50 -06:00
111e1e2888 Better names. 2021-02-01 07:58:00 -06:00
1e453e8df4 Shell is prompting just fine on its own, no need for variable. Make sure leet folder exists. 2021-02-01 07:56:00 -06:00
251b2acc37 Moving vars_prompt and testing if it accepts when clause. 2021-02-01 07:29:59 -06:00
59e2789df0 Ask for password then pass it to the ssh-copy-id. Hoping prompt does not need moved to local.yml. 2021-02-01 07:26:54 -06:00
24c61eb220 /bin/bash fixed redirect. Looks like ssh-copy-id is asking for password due to /bin/sh, use bash for it as well. 2021-02-01 07:19:51 -06:00
9f69fcf4c1 Add args on tests. 2021-02-01 07:16:17 -06:00
7bdfed742b Make quotes happy. 2021-02-01 07:14:03 -06:00
51b17411e8 It would be hard to try multiple ways if any but the last failed. :P 2021-02-01 07:05:19 -06:00
827e089300 Trying multiple ways of possibly fixing keygen error. Also disabled updating packages for now, could be unsafe if a broken update came out since machines would fall off scm. 2021-02-01 07:04:41 -06:00
20e785aaeb Add quotes to command and prepare for need to ignore_errors. 2021-02-01 06:57:11 -06:00
e3b5d6b915 Add pkg refresh for FreeBSD. Create SSH key with shell instead of fancy module. Still looking into how to (safely) get newer ansible on Debian. 2021-02-01 06:52:28 -06:00
a68bafd338 Better and more consistent names. 2021-02-01 06:43:32 -06:00
b1471edf52 Add some packages that should be kept up to date. Hopefully Debian gets to 2.8 sometime soon. May need to use a more bleeding edge repo if not. 2021-02-01 06:40:23 -06:00
c7b0c4f265 Remove tests, start using ansible_pkg_mgr. :D 2021-02-01 06:36:00 -06:00