731 Commits

Author SHA1 Message Date
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
0495703f16 Back to true/false on flatpak fact. 2021-02-03 21:21:48 -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
51766c8db6 Remove debug. Still not sure why true/false does not work but oh well. 2021-02-02 21:46:40 -06:00
4caa361aeb Change to definitely use a string value. 2021-02-02 21:44:56 -06:00
4554a96315 Change true to be literal. Hopefully does not get mistaken for variable name. 2021-02-02 21:42:04 -06:00
38ed8d0eb0 Debugging flatpak_distro fact. 2021-02-02 21:40:46 -06:00
d66624b8a2 Fix path to lynis. Better comments. 2021-02-02 21:34:08 -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
14df956852 Provide dummy package name for locate on FreeBSD. 2021-02-02 20:31:17 -06:00
49d561dd64 Trying without quotes. 2021-02-02 20:29:14 -06:00
b6868cbd24 Seeing if defining the variable with no value is OK. ALso some specialization of the workstation facts. 2021-02-02 20:27:15 -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
2cef5e7921 When setting facts for localhost, does not set facts for other host patterns. Testing breakout of workstation facts. 2021-02-01 08:28:12 -06:00
f7ac16c699 Opposite attempt of the previous, use localhost instead of all. 2021-02-01 08:20:03 -06:00
ddac6d8f44 Only specify all, not localhost, in an attempt to only run things once (hopefully fixes apt locks). 2021-02-01 08:19:11 -06:00
64c7593ce3 Use file for creating the 1337 mount. 2021-02-01 08:17:50 -06:00
e5684df2db Squash python warning. Use future option rather than legacy. 2021-02-01 08:12:41 -06:00
9ad77ec639 Reformat. 2021-02-01 08:09:54 -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
e2921ea6d7 Remove when. I wish I could only ask conditionally. 2021-02-01 07:30:47 -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