Hello All,
I am new to this group and ansible as well. I am learning ansible for my
current project, till now all going good.
Now I need to parse and update xml's using path in remote windows machine.
When trying ansible xml module (installed lxml using the command sudo pip
install lxml) I am getting below error,
Code snippet in my task,
- name: update sample xml
xml:
path: "c:\\temp1\\sample.xml"
xpath: "/PARTS/TITLE"
value: "testing success!!!"
Error,
Sivakumars-MacBook-Pro:ansible keerthisiva$ ansible-playbook -i hosts -l
ccenter,windows site.yml
ERROR! no action detected in task. This often indicates a misspelled module
name, or incorrect module path.
I am using Mac 10.12.6 as my host machine.
*ansible --version*
ansible 2.3.1.0
config file =
/Users/keerthisiva/Documents/workbench/projects/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1
Compatible Apple LLVM 8.0.0 (clang-800.0.34)]
Can some one help in directing me on this issue.
Thanks,
Sivakumar
--
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/8f88f9af-0a91-41c4-a462-3410b84fc965%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.