590 Commits

Author SHA1 Message Date
3bb46c78e5 It's working! Servers are grabbing the changes! Scripts tested successfully on Ubuntu 20.10. Not working on Debian 10 though, failing based on system.yml's first name module? 2021-01-31 15:51:16 -06:00
0dc4a0aad3 Fix users not using variables anymore besides for OS-specific group. 2021-01-31 15:43:08 -06:00
8b95472479 Change all group to everything since all is already a keyword. 2021-01-31 15:40:10 -06:00
5c47f396ec Starting to test Ubuntu Server. Need to find a way to get it working without putting it in the hosts file. 2021-01-31 15:38:46 -06:00
9395e309a5 Refactoring fact files. 2021-01-31 14:44:57 -06:00
c1ac4c3af4 Update comments. 2021-01-31 14:30:08 -06:00
acdff063e8 Move when's back to include's. 2021-01-31 14:25:54 -06:00
cb126dcc0b Split UI into Linux vs FreeBSD to avoid "local.yml, line 25, column 3, found a duplicate dict key
(tasks). Using last defined value only."
2021-01-31 14:24:09 -06:00
ea096c01fe Fix blockinfile.backup indent. 2021-01-31 14:19:57 -06:00
9eff4d7109 Remove the marker atribute so I don't play with them in the future. They need to stay static so the block gets updated not inserted. 2021-01-31 14:18:41 -06:00
d4c59bd6c0 Add rc.conf and fstab settings for FreeBSD GUI + SSHFS. 2021-01-31 14:16:57 -06:00
447cb33919 Remove failed_when, will just have to get used to seeing the errors on systems without CUPS. 2021-01-31 14:01:18 -06:00
336480ba2b Try different failed_when syntax. 2021-01-31 14:00:04 -06:00
fc4e49b355 Try to silence CUPS failures. They aren't stopping playback but they look bad. 2021-01-31 13:58:15 -06:00
6336715b98 Change shell chmod to file module. 2021-01-31 13:55:18 -06:00
a53ec10a99 Fix quotes so that I can remove lynis_exec variable. 2021-01-31 13:50:27 -06:00
63e848210c Remove comments, FreeBSD has been tested pretty well now. Still have a bit to do though in the GUI setup file. 2021-01-31 13:41:45 -06:00
4cd52e5405 Create new variable for lynis executable. 2021-01-31 13:40:06 -06:00
9313d1a7ed OCD: Call lynis from the install directory variable. Happened to be the same on all systems so it worked on FreeBSD. 2021-01-31 13:36:54 -06:00
f66e39ad6e Fix package variable "present: no" to "state: absent". Also added "state: present" to other package calls. I was so close to knowing it off-hand! 2021-01-31 13:25:18 -06:00
59e3dc7947 Service module complained about ignore_errors. Trying it on the include. 2021-01-31 13:19:35 -06:00
dddfdb7800 Ignore CUPS removal failures if they are not installed on a system (FreeBSD). 2021-01-31 13:15:55 -06:00
b57f49e7c9 FreeBSD does not support update_cache. 2021-01-31 13:13:21 -06:00
319a717e68 Adjust for FreeBSD root group being wheel. 2021-01-31 13:11:40 -06:00
81d59aabb3 Fix when spacing. 2021-01-31 13:04:26 -06:00
a001cddb1a Fixing typos and missing information. 2021-01-31 13:02:29 -06:00
537a0f59ca FreeBSD and QoL changes. 2021-01-31 12:58:37 -06:00
2f0b319242 Modify sudoers path for FreeBSD 2021-01-31 12:07:46 -06:00
b479d4dbb3 Add dell-laptop to hosts. 2021-01-30 21:37:26 -06:00
Hyperling
408feceb06 Pull to local. Remove comment. 2021-01-16 15:42:56 -06:00
Chad
5d91f412fa
Create LICENSE 2021-01-16 14:40:35 -06:00
Chad
12198ccaca
Update and rename sudoers_hyper to sudoers_ansible 2021-01-10 15:55:04 -06:00
Chad
1fa4e571e8
Change ansible user from hyper to ansible. 2021-01-10 15:53:05 -06:00
Chad
87527d907b
Set cron job to enabled. 2021-01-10 15:52:21 -06:00
Hyperling
f7aa0ccf89 It at least tried to run this time, but failed on the first real task (users.yml) 2020-12-31 18:13:15 -06:00
Hyperling
199dec88da Fine FreeBSD, you win. 2020-12-31 18:08:59 -06:00
Hyperling
8a2a7ec94c Try adding all IP ranges to inventory. 2020-12-31 18:07:49 -06:00
Hyperling
b1d54058df Try without the hosts keyword? 2020-12-31 18:01:51 -06:00
Hyperling
5de330d8c0 Try both all and localhost. 2020-12-31 18:00:53 -06:00
Hyperling
f2ac8883e1 Add connection type local. Localhost wasn't enough for FreeBSD. 2020-12-31 17:52:45 -06:00
Hyperling
d20539437c Change first task list to localhost so it runs for systems outside of hosts/inventory. 2020-12-31 17:50:51 -06:00
Hyperling
07c9f9f4ca Remove colors from Lynis output. 2020-12-28 21:41:43 -06:00
Hyperling
0a33ace221 Use shell so that redirect can occur. 2020-12-28 21:35:45 -06:00
Hyperling
de7b2ea00c Debug looks terrible. Put it in a file and hope that the color codes are ignored. 2020-12-28 21:32:28 -06:00
Hyperling
5b94393359 I guess command and shell hate having an FQCN. Now need to output the results. 2020-12-28 21:19:01 -06:00
Hyperling
905c5a4d8c Trying to run it without the FQCN. 2020-12-28 21:13:54 -06:00
Hyperling
31711925d8 Error due to extra params?? Removing newline at end of file. 2020-12-28 21:12:48 -06:00
Hyperling
ce5527ad51 Giving up on all arguments, hardcode the path. 2020-12-28 21:11:17 -06:00
Hyperling
ab82cd6452 command is also being wonky. Removing cmd and trying free-form. 2020-12-28 21:10:18 -06:00
Hyperling
486fd3b4d7 Try to use command instead of shell. 2020-12-28 21:08:40 -06:00