create roles/demolamp/tasks/main.yml

This commit is contained in:
Gary Kwok
2024-02-20 17:24:14 +08:00
parent b80cf1749c
commit e93096ea3b
3 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
---
- name: show remote host
debug:
msg: "the remote server is {{ ansible_host }}"
- name: show vars of this playbook
debug:
msg: "{{ greeting }}"

View File

@@ -0,0 +1 @@
greeting: "hello ansible-playbook"