2021-01-31 17:21:39 -06:00
|
|
|
---
|
2021-01-31 16:22:01 -06:00
|
|
|
# Define file, folder, and other facts per OS.
|
2020-12-28 21:32:28 -06:00
|
|
|
|
2021-11-07 12:40:31 -06:00
|
|
|
- name: General | Facts | System | Global
|
|
|
|
set_fact:
|
2022-01-10 13:41:54 +00:00
|
|
|
lynis_install_dir: /usr/local/src/lynis
|
2021-11-07 12:40:31 -06:00
|
|
|
dwm_install_dir: /usr/local/src/dwm
|
|
|
|
st_install_dir: /usr/local/src/st
|
|
|
|
global_bin: /usr/local/bin
|
|
|
|
x_desktops: /usr/share/xsessions
|
2021-12-24 14:55:21 -06:00
|
|
|
repo_github: https://github.com/Hyperling/ansible.git
|
2022-03-27 08:14:06 -05:00
|
|
|
#repo_local: https://git.hyperling.com/ansible.git
|
|
|
|
# Local server not working yet, go back to Github even though they throttle me.
|
|
|
|
repo_local: https://github.com/Hyperling/ansible.git
|
2021-12-24 14:55:21 -06:00
|
|
|
|
|
|
|
- name: General | Facts | System | Dev
|
|
|
|
set_fact:
|
2022-03-27 08:14:06 -05:00
|
|
|
#repo_local: https://git.hyperling.com/ansible-dev.git
|
|
|
|
# Local server not working yet, go back to Github even though they throttle me.
|
|
|
|
repo_local: https://github.com/Hyperling/ansible.git
|
2021-12-24 14:55:21 -06:00
|
|
|
when: branch == "dev"
|
2021-11-07 12:40:31 -06:00
|
|
|
|
|
|
|
|
2021-02-14 07:22:29 -06:00
|
|
|
- name: General | Facts | System | Linux
|
2021-01-31 17:07:57 -06:00
|
|
|
set_fact:
|
Add initial HUGO support, FreeBSD 13 support, and script for Ansible to hit dev branch. (#4)
* Create HUGO file.
* Add HUGO.
* Add script for running system against development branch.
* Add newline to end of file.
* Comment unused blocks.
* Add path of site that HUGO should host.
* Newlines, comments, and HUGO path. (#2) (#3)
* Create HUGO file.
* Add HUGO.
* Add script for running system against development branch.
* Add newline to end of file.
* Comment unused blocks.
* Add path of site that HUGO should host.
* FreeBSD is complaining about certbot not having dict object stdout. This whole playbook is supposed to be skipped though, lol.
* FreeBSD 13 is still mad. Ansible 2.11.2, jinja 2.11.2 (same version number??), Python 3.8.10.
* Fix root group to be existing variable. FreeBSD uses wheel.
* Allow choosing Github branch dynamically.
* `branch` needs to be at General level. Testing if this works...
* Change other `localhost` to `everything`.
* Update FreeBSD status.
* Goodbye, Code-OSS on Linux!
* Delete a terrible file.
* Remove excess tag.
* "Fix" SSHFS for FreeBSD.
* Variablize FreeBSD's loading of fusefs.
* Variablize /etc/rc.conf. Enable FuseFS more properly.
* Add beginning ticks.
* Add missing playbook.
* Enable FreeBSD mount job.
* Rearrange items to be more consistent with comment.
* It seems FreeBSD removed the `gnome3` metapackage. Use `gnome3-lite` instead. Also add Telegram.
* Python is to 3.8 now.
* Expand on FreeBSD work.
* Expand on FreeBSD work.
* Add placeholders for Gitlab.
* Add parameter for Gitlab install.
* Add Gitlab playbook.
* Ensure FreeBSD uses the correct Python install.
* Add newline.
* Fix NFS for FreeBSD workstations.
* Remove unnecessary line, restricted install to Linux in playbook.
* Fix mount options for FreeBSD.
* Fix mount number, as well as system-specific facts.
* Add placeholders for remote viewing.
* Add RDP for FreeBSD.
* Omg! It works! Add setting enforcement.
* Always remove OSS.
* Remove hosts from explicit dev testing.
2021-07-19 07:07:03 -05:00
|
|
|
rc_conf: /dev/null
|
2021-02-06 09:42:47 -06:00
|
|
|
sudoers_install_dir: /etc/sudoers.d/
|
2023-06-25 13:18:44 -07:00
|
|
|
sudoers_config: /etc/sudoers
|
2021-11-07 12:40:31 -06:00
|
|
|
shutdown_command: sudo shutdown -h now
|
2021-02-14 07:22:29 -06:00
|
|
|
when: ansible_system == "Linux"
|
2020-12-28 21:32:28 -06:00
|
|
|
|
|
|
|
|
2021-02-06 17:00:55 -06:00
|
|
|
- name: General | Facts | System | FreeBSD
|
2021-01-31 17:09:07 -06:00
|
|
|
set_fact:
|
Add initial HUGO support, FreeBSD 13 support, and script for Ansible to hit dev branch. (#4)
* Create HUGO file.
* Add HUGO.
* Add script for running system against development branch.
* Add newline to end of file.
* Comment unused blocks.
* Add path of site that HUGO should host.
* Newlines, comments, and HUGO path. (#2) (#3)
* Create HUGO file.
* Add HUGO.
* Add script for running system against development branch.
* Add newline to end of file.
* Comment unused blocks.
* Add path of site that HUGO should host.
* FreeBSD is complaining about certbot not having dict object stdout. This whole playbook is supposed to be skipped though, lol.
* FreeBSD 13 is still mad. Ansible 2.11.2, jinja 2.11.2 (same version number??), Python 3.8.10.
* Fix root group to be existing variable. FreeBSD uses wheel.
* Allow choosing Github branch dynamically.
* `branch` needs to be at General level. Testing if this works...
* Change other `localhost` to `everything`.
* Update FreeBSD status.
* Goodbye, Code-OSS on Linux!
* Delete a terrible file.
* Remove excess tag.
* "Fix" SSHFS for FreeBSD.
* Variablize FreeBSD's loading of fusefs.
* Variablize /etc/rc.conf. Enable FuseFS more properly.
* Add beginning ticks.
* Add missing playbook.
* Enable FreeBSD mount job.
* Rearrange items to be more consistent with comment.
* It seems FreeBSD removed the `gnome3` metapackage. Use `gnome3-lite` instead. Also add Telegram.
* Python is to 3.8 now.
* Expand on FreeBSD work.
* Expand on FreeBSD work.
* Add placeholders for Gitlab.
* Add parameter for Gitlab install.
* Add Gitlab playbook.
* Ensure FreeBSD uses the correct Python install.
* Add newline.
* Fix NFS for FreeBSD workstations.
* Remove unnecessary line, restricted install to Linux in playbook.
* Fix mount options for FreeBSD.
* Fix mount number, as well as system-specific facts.
* Add placeholders for remote viewing.
* Add RDP for FreeBSD.
* Omg! It works! Add setting enforcement.
* Always remove OSS.
* Remove hosts from explicit dev testing.
2021-07-19 07:07:03 -05:00
|
|
|
rc_conf: /etc/rc.conf
|
2021-02-06 09:42:47 -06:00
|
|
|
sudoers_install_dir: /usr/local/etc/sudoers.d/
|
2021-11-07 12:40:31 -06:00
|
|
|
shutdown_command: sudo shutdown -p now
|
2021-02-06 07:16:19 -06:00
|
|
|
when: ansible_system == "FreeBSD"
|
|
|
|
|
2021-02-06 08:08:32 -06:00
|
|
|
|
2021-02-07 08:47:31 -06:00
|
|
|
- name: General | Facts | System | Report File Names
|
2021-02-06 09:18:23 -06:00
|
|
|
set_fact:
|
2023-02-19 10:04:10 -06:00
|
|
|
lynis_report: "lynis_hardness_check.txt"
|
|
|
|
nmap_report: "nmap_port_check.txt"
|
Add initial HUGO support, FreeBSD 13 support, and script for Ansible to hit dev branch. (#4)
* Create HUGO file.
* Add HUGO.
* Add script for running system against development branch.
* Add newline to end of file.
* Comment unused blocks.
* Add path of site that HUGO should host.
* Newlines, comments, and HUGO path. (#2) (#3)
* Create HUGO file.
* Add HUGO.
* Add script for running system against development branch.
* Add newline to end of file.
* Comment unused blocks.
* Add path of site that HUGO should host.
* FreeBSD is complaining about certbot not having dict object stdout. This whole playbook is supposed to be skipped though, lol.
* FreeBSD 13 is still mad. Ansible 2.11.2, jinja 2.11.2 (same version number??), Python 3.8.10.
* Fix root group to be existing variable. FreeBSD uses wheel.
* Allow choosing Github branch dynamically.
* `branch` needs to be at General level. Testing if this works...
* Change other `localhost` to `everything`.
* Update FreeBSD status.
* Goodbye, Code-OSS on Linux!
* Delete a terrible file.
* Remove excess tag.
* "Fix" SSHFS for FreeBSD.
* Variablize FreeBSD's loading of fusefs.
* Variablize /etc/rc.conf. Enable FuseFS more properly.
* Add beginning ticks.
* Add missing playbook.
* Enable FreeBSD mount job.
* Rearrange items to be more consistent with comment.
* It seems FreeBSD removed the `gnome3` metapackage. Use `gnome3-lite` instead. Also add Telegram.
* Python is to 3.8 now.
* Expand on FreeBSD work.
* Expand on FreeBSD work.
* Add placeholders for Gitlab.
* Add parameter for Gitlab install.
* Add Gitlab playbook.
* Ensure FreeBSD uses the correct Python install.
* Add newline.
* Fix NFS for FreeBSD workstations.
* Remove unnecessary line, restricted install to Linux in playbook.
* Fix mount options for FreeBSD.
* Fix mount number, as well as system-specific facts.
* Add placeholders for remote viewing.
* Add RDP for FreeBSD.
* Omg! It works! Add setting enforcement.
* Always remove OSS.
* Remove hosts from explicit dev testing.
2021-07-19 07:07:03 -05:00
|
|
|
|
|
|
|
|
|
|
|
- name: General | Facts | System | Ansible Branch
|
|
|
|
set_fact:
|
|
|
|
branch: main
|
2021-11-07 12:40:31 -06:00
|
|
|
when: branch is not defined
|