Better names. :)

This commit is contained in:
2021-02-02 21:28:17 -06:00
parent b221478f35
commit 2951b687ae
18 changed files with 52 additions and 52 deletions

View File

@ -1,6 +1,6 @@
---
# Facts that must be gathered by tasks.
# Facts that must be gathered after running tasks.
- name: Gather | Locate BASH
- name: Facts | General | Gather | Locate BASH
shell: which bash
register: bash_exec

View File

@ -2,21 +2,21 @@
# Define program names per OS for package builtin.
# This file is for ALL systems and should not include UI components.
- name: Set Pop OS Package Names
- name: Facts | Workstation | Package | Pop OS
set_fact:
sshfs: sshfs
locate: locate
when: ansible_distribution == "Pop!_OS"
- name: Set Debian and Ubuntu Package Names
- name: Facts | Workstation | Package | Debian and Ubuntu
set_fact:
sshfs: sshfs
locate: locate
when: ansible_distribution in ("Debian","Ubuntu")
- name: Set FreeBSD Package Names
- name: Facts | Workstation | Package | FreeBSD
set_fact:
sshfs: fusefs-sshfs
locate: htop # This is just a placeholder to prevent errors

View File

@ -1,7 +1,7 @@
---
# Define program names per OS for service builtin.
- name: Set Pop OS Service Names
- name: Facts | Workstation | Service | Pop OS
set_fact:
cups: cups
cups_pattern: cupsd
@ -10,7 +10,7 @@
when: ansible_distribution == "Pop!_OS"
- name: Set Debian and Ubuntu Service Names
- name: Facts | Workstation | Service | Debian and Ubuntu
set_fact:
cups: cups
cups_pattern: cupsd
@ -19,7 +19,7 @@
when: ansible_distribution in ("Debian","Ubuntu")
- name: Set FreeBSD Service Names
- name: Facts | Workstation | Service | FreeBSD
set_fact:
cups: cups
cups_pattern: cupsd

View File

@ -1,7 +1,7 @@
---
# Define file, folder, and other facts per OS.
- name: Set Pop OS Facts
- name: Facts | Workstation | System | Pop OS
set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /home/ling/lynis.log
@ -10,7 +10,7 @@
when: ansible_distribution == "Pop!_OS"
- name: Set Debian and Ubuntu Facts
- name: Facts | Workstation | System | Debian and Ubuntu
set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /root/lynis.log
@ -19,7 +19,7 @@
when: ansible_distribution in ("Debian","Ubuntu")
- name: Set FreeBSD Facts
- name: Facts | Workstation | System | FreeBSD
set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /root/lynis.log

View File

@ -1,13 +1,13 @@
---
# Define users and groups per OS type.
- name: Set Linux User Variables
- name: Facts | Workstation | User | Linux
set_fact:
root_group: root
when: ansible_system == "Linux"
- name: Set FreeBSD User Variables
- name: Facts | Workstation | User | FreeBSD
set_fact:
root_group: wheel
when: ansible_system == "FreeBSD"