thanks Antony I think these docs are a good start , created the ssh key pair as i was getting a permission denied trying it out this first command below what is -m vyos.vyos.vyos_facts -e and ansible_network_os=vyos.vyos.vyos
ansible all -i vyos.example.net, -c ansible.netcommon.network_cli -u my_vyos_user -k -m vyos.vyos.vyos_facts -e ansible_network_os=vyos.vyos.vyos On Tue, 16 Mar 2021 at 11:13, Antony Stone < [email protected]> wrote: > 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. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAMWqvZGWU%3DuE5LMGg3L_KX_MjOL-yOgQSo7BPdcJXCWXTL8jsA%40mail.gmail.com.
