8a91b2ad6eGo back to include instead of include_tasks so that ignoring CUPS error still works.Hyperling2021-01-31 17:15:37 -06:00
65a9394694Add sudo to installed packages. How was that missed??Hyperling2021-01-31 17:14:08 -06:00
e0b9864a99Hooray! Removing the FQCN for set_fact makes Debian happy!Hyperling2021-01-31 17:10:39 -06:00
ccf28667e5I think Debian liked removing FQCN. Trying the rest of the file.Hyperling2021-01-31 17:09:07 -06:00
1448dfed35Debian still mad. Trying set_fact without FQCN.Hyperling2021-01-31 17:07:57 -06:00
7c555a4a88Try removing --- from system.yml for Debian.Hyperling2021-01-31 17:00:47 -06:00
0b93f15794Add tasks specifier in system.yml (Debian is still mad).Hyperling2021-01-31 16:58:12 -06:00
a8af6f76f7Changing include to include_tasks seems to help Debian. Change all instances in file for final test.Hyperling2021-01-31 16:54:59 -06:00
5b179ffc0dTesting change for Debian. It is upset that it is not finding tasks. It is on ansible 2.7.7 where Ubuntu is 2.9.9 and FreeBSD is 2.9.7. "ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path."Hyperling2021-01-31 16:53:19 -06:00
7ede59c950Allow ansible-pull to spam ansible's mail file so I know if it's doing work.Hyperling2021-01-31 16:28:51 -06:00
eb4bc98b03Remove special characters from names as well as do a little reformatting.Hyperling2021-01-31 16:22:01 -06:00
9a39c7c7bbFix ansible-pull path for FreeBSD. Fix inventory file in cfg (file is being used!).Hyperling2021-01-31 16:10:57 -06:00
d1756ea20eFix "conditional statements should not include jinja2 templating". Test breaking the cfg file to see if it is even being used.Hyperling2021-01-31 15:58:21 -06:00
8f29741a38Hide all the annoying warnings for every hostname iteration.Hyperling2021-01-31 15:53:13 -06:00
3bb46c78e5It'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?Hyperling2021-01-31 15:51:16 -06:00
0dc4a0aad3Fix users not using variables anymore besides for OS-specific group.Hyperling2021-01-31 15:43:08 -06:00
8b95472479Change all group to everything since all is already a keyword.Hyperling2021-01-31 15:40:10 -06:00
5c47f396ecStarting to test Ubuntu Server. Need to find a way to get it working without putting it in the hosts file.Hyperling2021-01-31 15:38:46 -06:00
cb126dcc0bSplit UI into Linux vs FreeBSD to avoid "local.yml, line 25, column 3, found a duplicate dict key (tasks). Using last defined value only."Hyperling2021-01-31 14:24:09 -06:00
9eff4d7109Remove 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.Hyperling2021-01-31 14:18:41 -06:00
d4c59bd6c0Add rc.conf and fstab settings for FreeBSD GUI + SSHFS.Hyperling2021-01-31 14:16:57 -06:00
447cb33919Remove failed_when, will just have to get used to seeing the errors on systems without CUPS.Hyperling2021-01-31 14:01:18 -06:00
336480ba2bTry different failed_when syntax.Hyperling2021-01-31 14:00:04 -06:00
fc4e49b355Try to silence CUPS failures. They aren't stopping playback but they look bad.Hyperling2021-01-31 13:58:15 -06:00
6336715b98Change shell chmod to file module.Hyperling2021-01-31 13:55:18 -06:00
a53ec10a99Fix quotes so that I can remove lynis_exec variable.Hyperling2021-01-31 13:50:27 -06:00
63e848210cRemove comments, FreeBSD has been tested pretty well now. Still have a bit to do though in the GUI setup file.Hyperling2021-01-31 13:41:45 -06:00
4cd52e5405Create new variable for lynis executable.Hyperling2021-01-31 13:40:06 -06:00
9313d1a7edOCD: Call lynis from the install directory variable. Happened to be the same on all systems so it worked on FreeBSD.Hyperling2021-01-31 13:36:54 -06:00
f66e39ad6eFix package variable "present: no" to "state: absent". Also added "state: present" to other package calls. I was so close to knowing it off-hand!Hyperling2021-01-31 13:25:18 -06:00
59e3dc7947Service module complained about ignore_errors. Trying it on the include.Hyperling2021-01-31 13:19:35 -06:00
dddfdb7800Ignore CUPS removal failures if they are not installed on a system (FreeBSD).Hyperling2021-01-31 13:15:55 -06:00
b57f49e7c9FreeBSD does not support update_cache.Hyperling2021-01-31 13:13:21 -06:00
319a717e68Adjust for FreeBSD root group being wheel.Hyperling2021-01-31 13:11:40 -06:00
Set cron job to enabled.
Chad
2021-01-10 15:52:21 -06:00
f7aa0ccf89It at least tried to run this time, but failed on the first real task (users.yml)
Hyperling
2020-12-31 18:13:15 -06:00
199dec88daFine FreeBSD, you win.
Hyperling
2020-12-31 18:08:59 -06:00
8a2a7ec94cTry adding all IP ranges to inventory.
Hyperling
2020-12-31 18:07:49 -06:00
b1d54058dfTry without the hosts keyword?
Hyperling
2020-12-31 18:01:51 -06:00
5de330d8c0Try both all and localhost.
Hyperling
2020-12-31 18:00:53 -06:00
f2ac8883e1Add connection type local. Localhost wasn't enough for FreeBSD.
Hyperling
2020-12-31 17:52:45 -06:00
d20539437cChange first task list to localhost so it runs for systems outside of hosts/inventory.
Hyperling
2020-12-31 17:50:51 -06:00
07c9f9f4caRemove colors from Lynis output.
Hyperling
2020-12-28 21:41:43 -06:00
0a33ace221Use shell so that redirect can occur.
Hyperling
2020-12-28 21:35:45 -06:00
de7b2ea00cDebug looks terrible. Put it in a file and hope that the color codes are ignored.
Hyperling
2020-12-28 21:32:28 -06:00
5b94393359I guess command and shell hate having an FQCN. Now need to output the results.
Hyperling
2020-12-28 21:19:01 -06:00
905c5a4d8cTrying to run it without the FQCN.
Hyperling
2020-12-28 21:13:54 -06:00
31711925d8Error due to extra params?? Removing newline at end of file.
Hyperling
2020-12-28 21:12:48 -06:00
ce5527ad51Giving up on all arguments, hardcode the path.
Hyperling
2020-12-28 21:11:17 -06:00
ab82cd6452command is also being wonky. Removing cmd and trying free-form.
Hyperling
2020-12-28 21:10:18 -06:00
486fd3b4d7Try to use command instead of shell.
Hyperling
2020-12-28 21:08:40 -06:00
c8407a4b49Syntax failed this time. Trying with args parameter before chdir.
Hyperling
2020-12-28 21:04:27 -06:00
9da1f834d4Do not use cmd parameter even though it is in the documentation. Received error 'Unsupported parameters for (command) module: cmd'
Hyperling
2020-12-28 21:01:48 -06:00
dd58654d88Did not realize git dest had to be the new folder's name. File now specifies lynis directory.
Hyperling
2020-12-28 20:59:07 -06:00
15a9bd392fEnd script with a Lynis hardness check.
Hyperling
2020-12-28 20:57:05 -06:00
ed6b5d5fadFinish harden so that CUPS gets disabled. Add to local.yml. Change localhost to all to avoid warnings.
Hyperling
2020-12-21 18:18:26 -06:00
4c0af3cdc9Disable cron job while testing.
Hyperling
2020-12-21 05:53:22 -06:00
9a2bb2f7a8Trying to fix hosts file by defining it in config. Added when for POP!_OS.
Hyperling
2020-12-21 05:50:12 -06:00
e898e88d56Testing different ways of doing conditional. Also moved inventory to hosts.
Hyperling
2020-12-21 05:44:28 -06:00
b91a51eb4eIt worked! Successfully got Discord and Shotcut. Now to make Flatpaks only for workstations.
Hyperling
2020-12-21 05:36:51 -06:00
f01c04027bAdd new flatpaks task to includes.
Hyperling
2020-12-21 05:25:19 -06:00
024da43cbbAdd a system repo for flathub.
Hyperling
2020-12-21 05:23:56 -06:00
40e925a596Fix typo in package. May need to find a way to have local ansible validate this stuff. :P
Hyperling
2020-12-21 05:15:04 -06:00
7e5b199213Looks 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.
Hyperling
2020-12-21 05:12:51 -06:00
2c73616b52Do 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.
Hyperling
2020-12-21 05:07:07 -06:00
e2a64c2fb4Attempt to use flatpak without qualifier.
Hyperling
2020-12-21 05:03:39 -06:00
00d7c10021Attempting to automate installing requirements.
Hyperling
2020-12-21 05:01:35 -06:00