Sounds like you are trying to call a list of tasks directly with 'ansible-playbook' rather than a playbook. Have a read through https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html#playbook-language-example to see how to write a playbook that contains variaous tasks. Once you are comfortable with this you can start to move onto roles which are highly recommended.
Thanks Jordan -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8f4dbda2-cddf-4dc1-a2a4-ccf186c75e33%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
