"Hello World" is the first program one writes when learning a new programming language. Welcome to the Internet's greatest collection of Hello World programs.
---
- name: Hello world as an Ansible Playbook
hosts: ansibleclient01.local
tasks:
- name: Create a file called '/tmp/testfile.txt' with the content 'hello world'.
copy:
content: hello worldn
dest: /tmp/testfile.txt