Header Shadow Image


ERROR! Extraneous options or arguments

Getting this error from Ansible?

ERROR! Extraneous options or arguments

Simply drop down one folder where the infra file resides and reexecute:

[root@awx01 adhoc]# cd ..
[root@awx01 ansible]# ansible cm* -i infra -m copy -a 'src=adhoc/public.xml dest=/etc/firewalld/zones/public.xml'

This was just a fancy way of ansible telling you it can't find the infra file containing the hosts for your deployment.

Cheers,
TK

Leave a Reply

You must be logged in to post a comment.


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License