add updates from the past

This commit is contained in:
2024-05-10 14:20:48 -04:00
parent 178973164b
commit efcf806ebc
6 changed files with 120005 additions and 8 deletions

7
tasks/generic_debug.yml Normal file
View File

@ -0,0 +1,7 @@
---
- name: Debug r_csv_hosts
debug:
var: r_csv_hosts
...

View File

@ -2,6 +2,15 @@
- name: Register contents of CSV
set_fact:
r_csv_hosts: "{{ lookup('template', 'templates/csv_inventory.j2') }}"
when:
- __dman_import is not defined
- name: Register contents of DMAN dump
set_fact:
r_csv_hosts: "{{ lookup('template', 'templates/dman_inventory.j2') }}"
when:
- __dman_import is defined
...