playbookサンプル
ディレクティブ
Playbook Keywords — Ansible Documentation
playbook
- hosts: all
gather_facts: false
tasks:
- name: hello
debug:
msg: hello world
inventory
[server]
192.168.0.1
Playbook Keywords — Ansible Documentation
- hosts: all
gather_facts: false
tasks:
- name: hello
debug:
msg: hello world
[server]
192.168.0.1