Set directory structure

This commit is contained in:
2025-03-21 20:55:10 -05:00
parent e1c72629a8
commit 201839c309
50 changed files with 2851 additions and 5 deletions

View File

@@ -0,0 +1,23 @@
- name: "Playbook to test the inventory_hostname and ansible_hostname"
hosts: ipaserver
# gather_facts: true
tasks:
- name: "What is my inventory_hostname"
ansible.builtin.debug:
var: inventory_hostname
- name: "What is my hostname"
ansible.builtin.debug:
var: hostname
- name: "What is my ansible_hostname"
ansible.builtin.debug:
var: ansible_hostname
- name: "What is my ansible_host"
ansible.builtin.debug:
var: ansible_host
# - name: "Ansible | List all known variables and facts"
# ansible.builtin.debug:
# var: hostvars[inventory_hostname]