36165/saying-extraneous-options-arguments-trying-ansible-playbook
Hey, I'm very new to ansible. I tried running a simple ansible playbook using the following command but it failed and gave me an error instead.
ansible playbook auto.yml
error:
Usage: ansible <host-pattern> [options] Define and run a single task 'playbook' against a set of hostsERROR! Extraneous options or arguments
What am I doing wrong?
Hey @Nisha, You are using the wrong command to execute your playbook.
Use the following syntax:
ansible-playbook -i hosts playbookname.yml
or
ansible-playbook playbook-name.yml
hey, Sariak's solution did not work?
I have written an ansible task to ...READ MORE
This has been happening to a lot ...READ MORE
Hi, I may not sure about the answer ...READ MORE
Hey Loki, Looks like your python library ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
If you're just trying to upgrade to ...READ MORE
Here sudo_pass is where you're going wrong. ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.