243 Commits

Author SHA1 Message Date
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
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
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
3e78c363c7 Change family test to only be for Debian. 2021-02-01 06:09:08 -06:00
3a20a1c08f = to == 2021-02-01 06:06:18 -06:00
0a6ed914b4 Testing ansible_pkg_mgr fact. 2021-02-01 06:04:35 -06:00
062116df5a Shorten names. 2021-02-01 05:55:24 -06:00
c71dace1d7 Add test for apt. 2021-02-01 05:54:38 -06:00
250202a897 Debian still mad, moving when to import. 2021-02-01 05:49:00 -06:00
e4968e258b Debian too old to use openssh_keypair from builtin. 2021-02-01 05:47:22 -06:00
36e2e6ee4b Testing for LearnLinuxTV Ansible Bug #1. 2021-02-01 05:40:39 -06:00
b3728f691b Confirmed script is running as root. Remove -f to see if password prompt goes away. May need to specify the key location if this does not work. 2021-02-01 05:20:05 -06:00
f220a0584c Add var param for debug. 2021-02-01 05:17:51 -06:00
922d0cfe82 Debugging the tests. Do not remove snapd from Ubuntu for now. Add some comments. 2021-02-01 05:15:45 -06:00
49035d6712 Trying to troubleshoot. Previous commands did not help. 2021-02-01 05:10:17 -06:00
dfe2270979 Script was asking for password but a key is already joined. May not be running as who I expected. Add commands for testing. 2021-02-01 05:08:25 -06:00
69e223b0d7 Fix copy/paste error. 2021-02-01 05:06:06 -06:00
af1eee5f03 More organization and beginning to add 1337 share. 2021-02-01 05:03:27 -06:00
ff0e10506f Woops, accidentally installed cowsay, LOL! 2021-01-31 18:06:02 -06:00
0f0f9a3aeb Good ol' organization. Tasks folder started getting too busy, and still kind of is. 2021-01-31 18:02:37 -06:00