Create HUGO file.

This commit is contained in:
Hyperling 2021-07-13 06:15:03 -05:00
parent 1b5be7cebe
commit 189a72de6c

View File

@ -0,0 +1,17 @@
# Install HUGO to host sites like parrotsec.org
- name: Server | Software | HUGO | Variables (apt)
set_fact:
hugo_package: hugo
when: ansible_pkg_mgr == "apt"
- name: Server | Software | HUGO | Variables (FreeBSD)
set_fact:
hugo_package: gohugo
when: ansible_system == "FreeBSD"
- name: Server | Software | HUGO | Variables (FreeBSD)
package:
name: "{{ hugo_package }}"
state: present