me
|
e2921ea6d7
|
Remove when. I wish I could only ask conditionally.
|
2021-02-01 07:30:47 -06:00 |
|
me
|
251b2acc37
|
Moving vars_prompt and testing if it accepts when clause.
|
2021-02-01 07:29:59 -06:00 |
|
me
|
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 |
|
me
|
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 |
|
me
|
9f69fcf4c1
|
Add args on tests.
|
2021-02-01 07:16:17 -06:00 |
|
me
|
7bdfed742b
|
Make quotes happy.
|
2021-02-01 07:14:03 -06:00 |
|
me
|
51b17411e8
|
It would be hard to try multiple ways if any but the last failed. :P
|
2021-02-01 07:05:19 -06:00 |
|
me
|
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 |
|
me
|
20e785aaeb
|
Add quotes to command and prepare for need to ignore_errors.
|
2021-02-01 06:57:11 -06:00 |
|
me
|
edf6f0d63c
|
ignore_errors got left behind on the wrong import! ;D
|
2021-02-01 06:55:03 -06:00 |
|
me
|
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 |
|
me
|
a68bafd338
|
Better and more consistent names.
|
2021-02-01 06:43:32 -06:00 |
|
me
|
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 |
|
me
|
c7b0c4f265
|
Remove tests, start using ansible_pkg_mgr. :D
|
2021-02-01 06:36:00 -06:00 |
|
me
|
3e78c363c7
|
Change family test to only be for Debian.
|
2021-02-01 06:09:08 -06:00 |
|
me
|
3a20a1c08f
|
= to ==
|
2021-02-01 06:06:18 -06:00 |
|
me
|
0a6ed914b4
|
Testing ansible_pkg_mgr fact.
|
2021-02-01 06:04:35 -06:00 |
|
me
|
062116df5a
|
Shorten names.
|
2021-02-01 05:55:24 -06:00 |
|
me
|
c71dace1d7
|
Add test for apt.
|
2021-02-01 05:54:38 -06:00 |
|
me
|
d17ef1afbd
|
Comment out keys import so I can test Debian.
|
2021-02-01 05:51:00 -06:00 |
|
me
|
250202a897
|
Debian still mad, moving when to import.
|
2021-02-01 05:49:00 -06:00 |
|
me
|
e4968e258b
|
Debian too old to use openssh_keypair from builtin.
|
2021-02-01 05:47:22 -06:00 |
|
me
|
36e2e6ee4b
|
Testing for LearnLinuxTV Ansible Bug #1.
|
2021-02-01 05:40:39 -06:00 |
|
me
|
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 |
|
me
|
f220a0584c
|
Add var param for debug.
|
2021-02-01 05:17:51 -06:00 |
|
me
|
922d0cfe82
|
Debugging the tests. Do not remove snapd from Ubuntu for now. Add some comments.
|
2021-02-01 05:15:45 -06:00 |
|
me
|
49035d6712
|
Trying to troubleshoot. Previous commands did not help.
|
2021-02-01 05:10:17 -06:00 |
|
me
|
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 |
|
me
|
69e223b0d7
|
Fix copy/paste error.
|
2021-02-01 05:06:06 -06:00 |
|
me
|
af1eee5f03
|
More organization and beginning to add 1337 share.
|
2021-02-01 05:03:27 -06:00 |
|
me
|
834800df8c
|
I guess facts are only strings, not booleans. Or I need to learn more.
|
2021-02-01 03:52:26 -06:00 |
|
me
|
ff0e10506f
|
Woops, accidentally installed cowsay, LOL!
|
2021-01-31 18:06:02 -06:00 |
|
me
|
0f0f9a3aeb
|
Good ol' organization. Tasks folder started getting too busy, and still kind of is.
|
2021-01-31 18:02:37 -06:00 |
|
me
|
47be3301e1
|
Add superuser, sudo group, and sudo group sudoers file.
|
2021-01-31 17:46:59 -06:00 |
|
me
|
235d8c304d
|
Removing TODOs and fixing some consistency errors.
|
2021-01-31 17:21:39 -06:00 |
|
me
|
a62afe01d0
|
Remove more FQCN's for Debian.
|
2021-01-31 17:17:14 -06:00 |
|
me
|
8a91b2ad6e
|
Go back to include instead of include_tasks so that ignoring CUPS error still works.
|
2021-01-31 17:15:37 -06:00 |
|
me
|
65a9394694
|
Add sudo to installed packages. How was that missed??
|
2021-01-31 17:14:08 -06:00 |
|
me
|
e0b9864a99
|
Hooray! Removing the FQCN for set_fact makes Debian happy!
|
2021-01-31 17:10:39 -06:00 |
|
me
|
ccf28667e5
|
I think Debian liked removing FQCN. Trying the rest of the file.
|
2021-01-31 17:09:07 -06:00 |
|
me
|
1448dfed35
|
Debian still mad. Trying set_fact without FQCN.
|
2021-01-31 17:07:57 -06:00 |
|
me
|
7c555a4a88
|
Try removing --- from system.yml for Debian.
|
2021-01-31 17:00:47 -06:00 |
|
me
|
0b93f15794
|
Add tasks specifier in system.yml (Debian is still mad).
|
2021-01-31 16:58:12 -06:00 |
|
me
|
a8af6f76f7
|
Changing include to include_tasks seems to help Debian. Change all instances in file for final test.
|
2021-01-31 16:54:59 -06:00 |
|
me
|
5b179ffc0d
|
Testing 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."
|
2021-01-31 16:53:19 -06:00 |
|
me
|
7ede59c950
|
Allow ansible-pull to spam ansible's mail file so I know if it's doing work.
|
2021-01-31 16:28:51 -06:00 |
|
me
|
eb4bc98b03
|
Remove special characters from names as well as do a little reformatting.
|
2021-01-31 16:22:01 -06:00 |
|
me
|
9a39c7c7bb
|
Fix ansible-pull path for FreeBSD. Fix inventory file in cfg (file is being used!).
|
2021-01-31 16:10:57 -06:00 |
|
me
|
d1756ea20e
|
Fix "conditional statements should not include jinja2 templating". Test breaking the cfg file to see if it is even being used.
|
2021-01-31 15:58:21 -06:00 |
|
me
|
8f29741a38
|
Hide all the annoying warnings for every hostname iteration.
|
2021-01-31 15:53:13 -06:00 |
|
me
|
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 |
|
me
|
0dc4a0aad3
|
Fix users not using variables anymore besides for OS-specific group.
|
2021-01-31 15:43:08 -06:00 |
|
me
|
8b95472479
|
Change all group to everything since all is already a keyword.
|
2021-01-31 15:40:10 -06:00 |
|
me
|
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 |
|
me
|
9395e309a5
|
Refactoring fact files.
|
2021-01-31 14:44:57 -06:00 |
|
me
|
c1ac4c3af4
|
Update comments.
|
2021-01-31 14:30:08 -06:00 |
|
me
|
acdff063e8
|
Move when's back to include's.
|
2021-01-31 14:25:54 -06:00 |
|
me
|
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 |
|
me
|
ea096c01fe
|
Fix blockinfile.backup indent.
|
2021-01-31 14:19:57 -06:00 |
|
me
|
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 |
|
me
|
d4c59bd6c0
|
Add rc.conf and fstab settings for FreeBSD GUI + SSHFS.
|
2021-01-31 14:16:57 -06:00 |
|
me
|
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 |
|
me
|
336480ba2b
|
Try different failed_when syntax.
|
2021-01-31 14:00:04 -06:00 |
|
me
|
fc4e49b355
|
Try to silence CUPS failures. They aren't stopping playback but they look bad.
|
2021-01-31 13:58:15 -06:00 |
|
me
|
6336715b98
|
Change shell chmod to file module.
|
2021-01-31 13:55:18 -06:00 |
|
me
|
a53ec10a99
|
Fix quotes so that I can remove lynis_exec variable.
|
2021-01-31 13:50:27 -06:00 |
|
me
|
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 |
|
me
|
4cd52e5405
|
Create new variable for lynis executable.
|
2021-01-31 13:40:06 -06:00 |
|
me
|
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 |
|
me
|
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 |
|
me
|
59e3dc7947
|
Service module complained about ignore_errors. Trying it on the include.
|
2021-01-31 13:19:35 -06:00 |
|
me
|
dddfdb7800
|
Ignore CUPS removal failures if they are not installed on a system (FreeBSD).
|
2021-01-31 13:15:55 -06:00 |
|
me
|
b57f49e7c9
|
FreeBSD does not support update_cache.
|
2021-01-31 13:13:21 -06:00 |
|
me
|
319a717e68
|
Adjust for FreeBSD root group being wheel.
|
2021-01-31 13:11:40 -06:00 |
|
me
|
81d59aabb3
|
Fix when spacing.
|
2021-01-31 13:04:26 -06:00 |
|
me
|
a001cddb1a
|
Fixing typos and missing information.
|
2021-01-31 13:02:29 -06:00 |
|
me
|
537a0f59ca
|
FreeBSD and QoL changes.
|
2021-01-31 12:58:37 -06:00 |
|
me
|
2f0b319242
|
Modify sudoers path for FreeBSD
|
2021-01-31 12:07:46 -06:00 |
|
me
|
b479d4dbb3
|
Add dell-laptop to hosts.
|
2021-01-30 21:37:26 -06:00 |
|