336480ba2b
Try different failed_when syntax.
me2021-01-31 14:00:04 -06:00
fc4e49b355
Try to silence CUPS failures. They aren't stopping playback but they look bad.
me2021-01-31 13:58:15 -06:00
6336715b98
Change shell chmod to file module.
me2021-01-31 13:55:18 -06:00
a53ec10a99
Fix quotes so that I can remove lynis_exec variable.
me2021-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.
me2021-01-31 13:41:45 -06:00
4cd52e5405
Create new variable for lynis executable.
me2021-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.
me2021-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!
me2021-01-31 13:25:18 -06:00
59e3dc7947
Service module complained about ignore_errors. Trying it on the include.
me2021-01-31 13:19:35 -06:00
dddfdb7800
Ignore CUPS removal failures if they are not installed on a system (FreeBSD).
me2021-01-31 13:15:55 -06:00
b57f49e7c9
FreeBSD does not support update_cache.
me2021-01-31 13:13:21 -06:00
319a717e68
Adjust for FreeBSD root group being wheel.
me2021-01-31 13:11:40 -06:00
81d59aabb3
Fix when spacing.
me2021-01-31 13:04:26 -06:00
a001cddb1a
Fixing typos and missing information.
me2021-01-31 13:02:29 -06:00
537a0f59ca
FreeBSD and QoL changes.
me2021-01-31 12:58:37 -06:00
2f0b319242
Modify sudoers path for FreeBSD
me2021-01-31 12:07:46 -06:00
b479d4dbb3
Add dell-laptop to hosts.
me2021-01-30 21:37:26 -06:00
408feceb06
Pull to local. Remove comment.
Hyperling2021-01-16 15:42:56 -06:00
f2ac8883e1
Add connection type local. Localhost wasn't enough for FreeBSD.
Hyperling2020-12-31 17:52:45 -06:00
d20539437c
Change first task list to localhost so it runs for systems outside of hosts/inventory.
Hyperling2020-12-31 17:50:51 -06:00
07c9f9f4ca
Remove colors from Lynis output.
Hyperling2020-12-28 21:41:43 -06:00
0a33ace221
Use shell so that redirect can occur.
Hyperling2020-12-28 21:35:45 -06:00
de7b2ea00c
Debug looks terrible. Put it in a file and hope that the color codes are ignored.
Hyperling2020-12-28 21:32:28 -06:00
5b94393359
I guess command and shell hate having an FQCN. Now need to output the results.
Hyperling2020-12-28 21:19:01 -06:00
905c5a4d8c
Trying to run it without the FQCN.
Hyperling2020-12-28 21:13:54 -06:00
31711925d8
Error due to extra params?? Removing newline at end of file.
Hyperling2020-12-28 21:12:48 -06:00
ce5527ad51
Giving up on all arguments, hardcode the path.
Hyperling2020-12-28 21:11:17 -06:00
ab82cd6452
command is also being wonky. Removing cmd and trying free-form.
Hyperling2020-12-28 21:10:18 -06:00
486fd3b4d7
Try to use command instead of shell.
Hyperling2020-12-28 21:08:40 -06:00
c8407a4b49
Syntax failed this time. Trying with args parameter before chdir.
Hyperling2020-12-28 21:04:27 -06:00
9da1f834d4
Do not use cmd parameter even though it is in the documentation. Received error 'Unsupported parameters for (command) module: cmd'
Hyperling2020-12-28 21:01:48 -06:00
dd58654d88
Did not realize git dest had to be the new folder's name. File now specifies lynis directory.
Hyperling2020-12-28 20:59:07 -06:00
15a9bd392f
End script with a Lynis hardness check.
Hyperling2020-12-28 20:57:05 -06:00
46c252757e
Test worked, adding back explicit "{{ }}" syntax.
Hyperling2020-12-28 20:39:25 -06:00
79a6204d51
Service name facts are working now too. Now testing if the "{{ }}" syntax is necessary for facts.
Hyperling2020-12-28 20:36:23 -06:00
021730c90c
Set facts is working! Now do the same for service names.
Hyperling2020-12-28 20:21:01 -06:00
ae67a56d67
Remove period from set variable names.
Hyperling2020-12-28 20:10:53 -06:00
ed6b5d5fad
Finish harden so that CUPS gets disabled. Add to local.yml. Change localhost to all to avoid warnings.
Hyperling2020-12-21 18:18:26 -06:00
4c0af3cdc9
Disable cron job while testing.
Hyperling2020-12-21 05:53:22 -06:00
9a2bb2f7a8
Trying to fix hosts file by defining it in config. Added when for POP!_OS.
Hyperling2020-12-21 05:50:12 -06:00
e898e88d56
Testing different ways of doing conditional. Also moved inventory to hosts.
Hyperling2020-12-21 05:44:28 -06:00
b91a51eb4e
It worked! Successfully got Discord and Shotcut. Now to make Flatpaks only for workstations.
Hyperling2020-12-21 05:36:51 -06:00
f01c04027b
Add new flatpaks task to includes.
Hyperling2020-12-21 05:25:19 -06:00
024da43cbb
Add a system repo for flathub.
Hyperling2020-12-21 05:23:56 -06:00
40e925a596
Fix typo in package. May need to find a way to have local ansible validate this stuff. :P
Hyperling2020-12-21 05:15:04 -06:00
7e5b199213
Looks like only one Flatpak can be installed at a time. It was not happy about the list. Maybe we can find a way to loop later.
Hyperling2020-12-21 05:12:51 -06:00
2c73616b52
Do not attempt to install general community galaxy repo. 2.9 docs say it is not needed. So why does 2.10 say they are? Regardless, the pre task failed because community.general was not found.
Hyperling2020-12-21 05:07:07 -06:00
e2a64c2fb4
Attempt to use flatpak without qualifier.
Hyperling2020-12-21 05:03:39 -06:00
00d7c10021
Attempting to automate installing requirements.
Hyperling2020-12-21 05:01:35 -06:00