Debug looks terrible. Put it in a file and hope that the color codes are ignored.

This commit is contained in:
Hyperling
2020-12-28 21:32:28 -06:00
parent 5b94393359
commit de7b2ea00c
5 changed files with 35 additions and 9 deletions

View File

@ -0,0 +1,24 @@
---
# Define what the file and folder names should be on each OS.
- name: Set Pop!_OS Package Names
ansible.builtin.set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /home/ling/lynis.log
when: ansible_distribution == "Pop!_OS"
# TODO Needs tested
- name: Set Ubuntu Package Names
ansible.builtin.set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /root/lynis.log
when: ansible_distribution == "Ubuntu"
# TODO Needs tested
- name: Set FreeBSD Package Names
ansible.builtin.set_fact:
lynis_install_dir: /usr/local/lynis
lynis_report: /root/lynis.log
when: ansible_distribution == "FreeBSD"

View File

@ -1,5 +1,5 @@
---
# Define what the program name is on each OS so we can use package builtin. like this:
# Define what the program name is on each OS so we can use package builtin.
- name: Set Pop!_OS Package Names
ansible.builtin.set_fact:

View File

@ -1,10 +1,11 @@
---
# Define what the program name is on each OS so we can use package builtin. like this:
# Define what the program name is on each OS so we can use service builtin.
- name: Set Pop!_OS Service Names
ansible.builtin.set_fact:
cups: cups
cups_pattern: cupsd
cups_browse: cups-browsed
cups_browse_pattern: cups-browsed
when: ansible_distribution == "Pop!_OS"
@ -15,6 +16,7 @@
ansible.builtin.set_fact:
cups: cups
cups_pattern: cupsd
cups_browse: cups-browsed
cups_browse_pattern: cups-browsed
when: ansible_distribution == "Ubuntu"
@ -25,6 +27,7 @@
ansible.builtin.set_fact:
cups: cups
cups_pattern: cupsd
cups_browse: cups-browsed
cups_browse_pattern: cups-browsed
when: ansible_distribution == "FreeBSD"