more testing aaaaaa

This commit is contained in:
2025-04-10 01:33:58 -05:00
parent f8ebdd4b51
commit ab4ba32f58

View File

@ -8,4 +8,19 @@
- name: Print the package facts
ansible.builtin.debug:
var: ansible_facts.packages
var: ansible_facts.packages
- name: Check if a folder exists
stat:
path: /etc/apt
register: aptfolder
- name: Show if the folder exists
debug:
msg: "APT is on this system"
when: aptfolder.stat.exists
- name: Show if the folder does not exist
debug:
msg: "APT is on this system"
when: aptfolder.stat.exists == False