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.
This commit is contained in:
@ -8,6 +8,11 @@
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
- name: General | Account Management | Mounts | Enable SSHFS (FreeBSD)
|
||||
shell: "{{ load_fusefs }}"
|
||||
ignore_errors: yes
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
- name: General | Account Management | Mounts | Test SSHFS
|
||||
shell: "sshfs {{ leet_ssh }}: /mnt/test -o allow_other"
|
||||
register: sshfs_test
|
||||
|
@ -6,7 +6,7 @@
|
||||
user: ansible
|
||||
name: "Ansible Sync"
|
||||
minute: "*/15"
|
||||
job: "sudo {{ ansible_pull_exec.stdout }} -o -U https://github.com/Hyperling/ansible.git --checkout main"
|
||||
job: "sudo {{ ansible_pull_exec.stdout }} -o -U https://github.com/Hyperling/ansible.git --checkout {{ branch }}"
|
||||
state: present
|
||||
disabled: no
|
||||
|
||||
|
@ -6,8 +6,8 @@
|
||||
user: root
|
||||
name: "1337 SSHFS"
|
||||
special_time: reboot
|
||||
job: "{{ sshfs_leet_cmd }}"
|
||||
state: absent
|
||||
job: "{{ load_fusefs }} && {{ sshfs_leet_cmd }}"
|
||||
state: present
|
||||
disabled: no
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
|
@ -13,7 +13,17 @@
|
||||
|
||||
## SSHFS ##
|
||||
|
||||
- name: General | Software | Services | Enable SSHD (Linux?)
|
||||
- name: General | Software | Services | Enable FuseFS (FreeBSD rc.conf)
|
||||
lineinfile:
|
||||
path: "{{ rc_conf }}"
|
||||
regexp: 'fusefs_enable='
|
||||
line: 'fusefs_enable="YES" # MANAGED BY ANSIBLE'
|
||||
state: present
|
||||
create: yes
|
||||
backup: yes
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
- name: General | Software | Services | Enable SSHFS (FreeBSD service)
|
||||
service:
|
||||
name: fusefs
|
||||
pattern: fusefs
|
||||
|
@ -14,7 +14,7 @@
|
||||
state: directory
|
||||
mode: '0644'
|
||||
owner: root
|
||||
group: root
|
||||
group: "{{ root_group }}"
|
||||
recurse: yes
|
||||
|
||||
- name: General | Tests | Lynis | Ensure Permissions 2
|
||||
|
Reference in New Issue
Block a user