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