For Ansible Adhoc Commands, use below link https://docs.ansible.com/ansible/latest/command_guide/intro_adhoc.html For YAML, use below link https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html