This commit is contained in:
root 2024-02-12 15:17:35 +02:00
commit 47ff6bcb42
3 changed files with 11 additions and 0 deletions

2
ansible.cfg Normal file
View File

@ -0,0 +1,2 @@
[defaults]
host_key_checking = False

2
inventory Normal file
View File

@ -0,0 +1,2 @@
[my]
192.168.220.116 web_status_id=teting

7
play.yml Normal file
View File

@ -0,0 +1,7 @@
---
- name: Ansible debug module in action
hosts: all
tasks:
- name: "Print a simple host variable from the inventory"
debug:
msg: "{{ web_status_id }}"