When setting facts for localhost, does not set facts for other host patterns. Testing breakout of workstation facts.

This commit is contained in:
2021-02-01 08:28:12 -06:00
parent f7ac16c699
commit 2cef5e7921
9 changed files with 110 additions and 4 deletions

View File

@ -8,10 +8,10 @@
become: true
pre_tasks:
- include: facts/system.yml
- include: facts/package.yml
- include: facts/service.yml
- include: facts/user.yml
- include: facts/general/system.yml
- include: facts/general/package.yml
- include: facts/general/service.yml
- include: facts/general/user.yml
tasks:
- include: tasks/general/software/packages.yml
@ -33,6 +33,12 @@
connection: local
become: true
pre_tasks:
- include: facts/workstation/system.yml
- include: facts/workstation/package.yml
- include: facts/workstation/service.yml
- include: facts/workstation/user.yml
tasks:
- include: tasks/linux/software/flatpaks.yml
when: ansible_system == "Linux" and