Hi Dennis Still a newb myself really but these basic details may help?
Playbooks are written in YAML and have a filename extension of .yml Each Playbook contains 1 or more Plays Each Play contains 1 or more Tasks One purpose of Plays is to map Hosts to Tasks. Tasks are executed in order, one at a time, against all machines matched by the host pattern, before moving on to the next task. The goal of each task is to execute a Module, with specific arguments. Variables can be used in arguments to modules as well. This is a link to all the latest modules (v2.8), including IOS: https://docs.ansible.com/ansible/latest/modules/list_of_all_modules.html Regards Phil From: [email protected] <[email protected]> On Behalf Of [email protected] Sent: 19 July 2019 02:27 To: Ansible Project <[email protected]> Subject: [ansible-project] Ansible noob - not helpless, just looking for a nudge in the right direction Right off the bat, I am a total noob to Ansible and relatively new to Python coding as well. With that said I am trying to figure things out on my own before bringing them here to the group. I have a few questions that I hope you can answer for me or at least give me a nudge in the right direction. I am struggling to understand exactly what modules and plugins Ansible loads, in what order, and why. I see from the documentation where it speaks to the majority of the different plugin types and what they are for, but I can't seem to find any sort of data flow diagram that answers my questions. Can anyone point me to a definitive source for this information?? I think it will clear up a lot of confusion for me. If I take a Cisco IOS device and execute a playbook against it using ios_facts it seems like Ansible automatically loads the plugins and does so in this order: Action, network_cli, cliconf, then terminal and then ultimately the module. Is this correct? How do the other plugins fit in? I assume different plugins are used depending on the host(s) I need to manage and by what method (shell, cli, etc.)? Thank you ahead of time for any help you can give. Dennis -- 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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e306cc37-006a-42fa-bfa2-2f943e0a9854%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/e306cc37-006a-42fa-bfa2-2f943e0a9854%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/3b4cae9558534aaf89f17c3bc63dc9a4%40bham.ac.uk.
