Seeing if defining the variable with no value is OK. ALso some specialization of the workstation facts.
This commit is contained in:
parent
668fd67fd0
commit
b6868cbd24
@ -7,6 +7,7 @@
|
|||||||
thunderbird: thunderbird
|
thunderbird: thunderbird
|
||||||
evolution: evolution
|
evolution: evolution
|
||||||
sshfs: sshfs
|
sshfs: sshfs
|
||||||
|
locate: locate
|
||||||
when: ansible_distribution == "Pop!_OS"
|
when: ansible_distribution == "Pop!_OS"
|
||||||
|
|
||||||
|
|
||||||
@ -16,6 +17,7 @@
|
|||||||
thunderbird: thunderbird
|
thunderbird: thunderbird
|
||||||
evolution: evolution
|
evolution: evolution
|
||||||
sshfs: sshfs
|
sshfs: sshfs
|
||||||
|
locate: locate
|
||||||
when: ansible_distribution in ("Debian","Ubuntu")
|
when: ansible_distribution in ("Debian","Ubuntu")
|
||||||
|
|
||||||
|
|
||||||
@ -25,4 +27,5 @@
|
|||||||
thunderbird: thunderbird
|
thunderbird: thunderbird
|
||||||
evolution: evolution
|
evolution: evolution
|
||||||
sshfs: fusefs-sshfs
|
sshfs: fusefs-sshfs
|
||||||
|
locate: ""
|
||||||
when: ansible_distribution == "FreeBSD"
|
when: ansible_distribution == "FreeBSD"
|
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
- name: Set Pop OS Facts
|
- name: Set Pop OS Facts
|
||||||
set_fact:
|
set_fact:
|
||||||
flatpak_distro: true
|
|
||||||
lynis_install_dir: /usr/local/lynis
|
lynis_install_dir: /usr/local/lynis
|
||||||
lynis_report: /home/ling/lynis.log
|
lynis_report: /home/ling/lynis.log
|
||||||
sudoers_install_dir: /etc/sudoers.d/ansible
|
sudoers_install_dir: /etc/sudoers.d/ansible
|
||||||
@ -13,7 +12,6 @@
|
|||||||
|
|
||||||
- name: Set Debian and Ubuntu Facts
|
- name: Set Debian and Ubuntu Facts
|
||||||
set_fact:
|
set_fact:
|
||||||
flatpak_distro: true
|
|
||||||
lynis_install_dir: /usr/local/lynis
|
lynis_install_dir: /usr/local/lynis
|
||||||
lynis_report: /root/lynis.log
|
lynis_report: /root/lynis.log
|
||||||
sudoers_install_dir: /etc/sudoers.d/ansible
|
sudoers_install_dir: /etc/sudoers.d/ansible
|
||||||
@ -23,7 +21,6 @@
|
|||||||
|
|
||||||
- name: Set FreeBSD Facts
|
- name: Set FreeBSD Facts
|
||||||
set_fact:
|
set_fact:
|
||||||
flatpak_distro: false
|
|
||||||
lynis_install_dir: /usr/local/lynis
|
lynis_install_dir: /usr/local/lynis
|
||||||
lynis_report: /root/lynis.log
|
lynis_report: /root/lynis.log
|
||||||
sudoers_install_dir: /usr/local/etc/sudoers.d/ansible
|
sudoers_install_dir: /usr/local/etc/sudoers.d/ansible
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
---
|
|
||||||
# Define program names per OS for service builtin.
|
|
||||||
|
|
||||||
- name: Set Pop OS Service Names
|
|
||||||
set_fact:
|
|
||||||
cups: cups
|
|
||||||
cups_pattern: cupsd
|
|
||||||
cups_browse: cups-browsed
|
|
||||||
cups_browse_pattern: cups-browsed
|
|
||||||
when: ansible_distribution == "Pop!_OS"
|
|
||||||
|
|
||||||
|
|
||||||
- name: Set Debian and Ubuntu Service Names
|
|
||||||
set_fact:
|
|
||||||
cups: cups
|
|
||||||
cups_pattern: cupsd
|
|
||||||
cups_browse: cups-browsed
|
|
||||||
cups_browse_pattern: cups-browsed
|
|
||||||
when: ansible_distribution in ("Debian","Ubuntu")
|
|
||||||
|
|
||||||
|
|
||||||
- name: Set FreeBSD Service Names
|
|
||||||
set_fact:
|
|
||||||
cups: cups
|
|
||||||
cups_pattern: cupsd
|
|
||||||
cups_browse: cups-browsed
|
|
||||||
cups_browse_pattern: cups-browsed
|
|
||||||
when: ansible_distribution == "FreeBSD"
|
|
@ -4,28 +4,16 @@
|
|||||||
- name: Set Pop OS Facts
|
- name: Set Pop OS Facts
|
||||||
set_fact:
|
set_fact:
|
||||||
flatpak_distro: true
|
flatpak_distro: true
|
||||||
lynis_install_dir: /usr/local/lynis
|
|
||||||
lynis_report: /home/ling/lynis.log
|
|
||||||
sudoers_install_dir: /etc/sudoers.d/ansible
|
|
||||||
ansible_pull_exec: /usr/bin/ansible-pull
|
|
||||||
when: ansible_distribution == "Pop!_OS"
|
when: ansible_distribution == "Pop!_OS"
|
||||||
|
|
||||||
|
|
||||||
- name: Set Debian and Ubuntu Facts
|
- name: Set Debian and Ubuntu Facts
|
||||||
set_fact:
|
set_fact:
|
||||||
flatpak_distro: true
|
flatpak_distro: true
|
||||||
lynis_install_dir: /usr/local/lynis
|
|
||||||
lynis_report: /root/lynis.log
|
|
||||||
sudoers_install_dir: /etc/sudoers.d/ansible
|
|
||||||
ansible_pull_exec: /usr/bin/ansible-pull
|
|
||||||
when: ansible_distribution in ("Debian","Ubuntu")
|
when: ansible_distribution in ("Debian","Ubuntu")
|
||||||
|
|
||||||
|
|
||||||
- name: Set FreeBSD Facts
|
- name: Set FreeBSD Facts
|
||||||
set_fact:
|
set_fact:
|
||||||
flatpak_distro: false
|
flatpak_distro: false
|
||||||
lynis_install_dir: /usr/local/lynis
|
|
||||||
lynis_report: /root/lynis.log
|
|
||||||
sudoers_install_dir: /usr/local/etc/sudoers.d/ansible
|
|
||||||
ansible_pull_exec: /usr/local/bin/ansible-pull
|
|
||||||
when: ansible_distribution == "FreeBSD"
|
when: ansible_distribution == "FreeBSD"
|
@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
# Define users and groups per OS type.
|
|
||||||
|
|
||||||
- name: Set Linux User Variables
|
|
||||||
set_fact:
|
|
||||||
root_group: root
|
|
||||||
when: ansible_system == "Linux"
|
|
||||||
|
|
||||||
|
|
||||||
- name: Set FreeBSD User Variables
|
|
||||||
set_fact:
|
|
||||||
root_group: wheel
|
|
||||||
when: ansible_system == "FreeBSD"
|
|
@ -36,8 +36,6 @@
|
|||||||
pre_tasks:
|
pre_tasks:
|
||||||
- include: facts/workstation/system.yml
|
- include: facts/workstation/system.yml
|
||||||
- include: facts/workstation/package.yml
|
- include: facts/workstation/package.yml
|
||||||
- include: facts/workstation/service.yml
|
|
||||||
- include: facts/workstation/user.yml
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: tasks/linux/software/flatpaks.yml
|
- include: tasks/linux/software/flatpaks.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user