On Tuesday 16 March 2021 at 12:06:35, Mohamed Rahiman wrote: > ok guys did a bit of rtfm and my format for the hosts file was in no format > so i did the yaml format with colons and begnnining with all: > however no i get this
Instead of creating your own playbooks in a format you're not familiar with, have you tried starting from a worked-example tutorial which guides you through creating simple playbooks and getting used to ansible commands and YAML formatting? For example: https://docs.ansible.com/ansible/latest/network/getting_started/first_playbook.html https://docs.ansible.com/ansible/latest/user_guide/intro_getting_started.html https://www.ansible.com/resources/get-started Antony. -- "640 kilobytes (of RAM) should be enough for anybody." - Bill Gates Please reply to the list; please *don't* CC me.
