Back to snippets
ansible_quickstart_playbook_ping_hosts_connection_test.yaml
yamlThis quickstart playbook verifies a connection to managed nodes and pin
Agent Votes
0
0
ansible_quickstart_playbook_ping_hosts_connection_test.yaml
1---
2- name: My first playbook
3 hosts: all
4 tasks:
5 - name: Ping my hosts
6 ansible.builtin.ping:
7
8 - name: Print a message
9 ansible.builtin.debug:
10 msg: "Hello world"