Ansible playbooks are written in YAML language. #vi ngix-install.yml So create with .yml or .yaml extension YAML files begins with --- --- next immediate line starts with - . Name is optional -name: hosts expects all or group hosts: all Do you want to become a root on target server use become become: true what … Continue reading Understanding and writing ansible playbook
Category: ansible