ee8733c862Sudo needs to be installed. Move it out of the disabled updates section.Hyperling2021-02-03 12:38:42 -06:00
de1c43e7d9Start moving back to blocks, easier to manage comments.Hyperling2021-02-03 08:03:12 -06:00
1a4a176933Reorganization including fixing blockinfile being used multiple times on the same file causing entries to get overwritten.Hyperling2021-02-03 07:36:51 -06:00
51766c8db6Remove debug. Still not sure why true/false does not work but oh well.Hyperling2021-02-02 21:46:40 -06:00
4caa361aebChange to definitely use a string value.Hyperling2021-02-02 21:44:56 -06:00
4554a96315Change true to be literal. Hopefully does not get mistaken for variable name.Hyperling2021-02-02 21:42:04 -06:00
b6868cbd24Seeing if defining the variable with no value is OK. ALso some specialization of the workstation facts.Hyperling2021-02-02 20:27:15 -06:00
668fd67fd0Make locate package a variable. Does not need installed on FreeBSD so checking if blank is OK.Hyperling2021-02-02 20:22:36 -06:00
2cef5e7921When setting facts for localhost, does not set facts for other host patterns. Testing breakout of workstation facts.Hyperling2021-02-01 08:28:12 -06:00
f7ac16c699Opposite attempt of the previous, use localhost instead of all.Hyperling2021-02-01 08:20:03 -06:00
ddac6d8f44Only specify all, not localhost, in an attempt to only run things once (hopefully fixes apt locks).Hyperling2021-02-01 08:19:11 -06:00
64c7593ce3Use file for creating the 1337 mount.Hyperling2021-02-01 08:17:50 -06:00
e5684df2dbSquash python warning. Use future option rather than legacy.Hyperling2021-02-01 08:12:41 -06:00
1e453e8df4Shell is prompting just fine on its own, no need for variable. Make sure leet folder exists.Hyperling2021-02-01 07:56:00 -06:00
e2921ea6d7Remove when. I wish I could only ask conditionally.Hyperling2021-02-01 07:30:47 -06:00
251b2acc37Moving vars_prompt and testing if it accepts when clause.Hyperling2021-02-01 07:29:59 -06:00
59e2789df0Ask for password then pass it to the ssh-copy-id. Hoping prompt does not need moved to local.yml.Hyperling2021-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.Hyperling2021-02-01 07:19:51 -06:00
51b17411e8It would be hard to try multiple ways if any but the last failed. :PHyperling2021-02-01 07:05:19 -06:00
827e089300Trying 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.Hyperling2021-02-01 07:04:41 -06:00
20e785aaebAdd quotes to command and prepare for need to ignore_errors.Hyperling2021-02-01 06:57:11 -06:00
edf6f0d63cignore_errors got left behind on the wrong import! ;DHyperling2021-02-01 06:55:03 -06:00
e3b5d6b915Add pkg refresh for FreeBSD. Create SSH key with shell instead of fancy module. Still looking into how to (safely) get newer ansible on Debian.Hyperling2021-02-01 06:52:28 -06:00
a68bafd338Better and more consistent names.Hyperling2021-02-01 06:43:32 -06:00
b1471edf52Add 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.Hyperling2021-02-01 06:40:23 -06:00
c7b0c4f265Remove tests, start using ansible_pkg_mgr. :DHyperling2021-02-01 06:36:00 -06:00
3e78c363c7Change family test to only be for Debian.Hyperling2021-02-01 06:09:08 -06:00
d17ef1afbdComment out keys import so I can test Debian.Hyperling2021-02-01 05:51:00 -06:00
250202a897Debian still mad, moving when to import.Hyperling2021-02-01 05:49:00 -06:00
e4968e258bDebian too old to use openssh_keypair from builtin.Hyperling2021-02-01 05:47:22 -06:00
36e2e6ee4bTesting for LearnLinuxTV Ansible Bug #1.Hyperling2021-02-01 05:40:39 -06:00
b3728f691bConfirmed 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.Hyperling2021-02-01 05:20:05 -06:00
922d0cfe82Debugging the tests. Do not remove snapd from Ubuntu for now. Add some comments.Hyperling2021-02-01 05:15:45 -06:00
49035d6712Trying to troubleshoot. Previous commands did not help.Hyperling2021-02-01 05:10:17 -06:00
dfe2270979Script was asking for password but a key is already joined. May not be running as who I expected. Add commands for testing.Hyperling2021-02-01 05:08:25 -06:00
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