-
Notifications
You must be signed in to change notification settings - Fork 144
Module: xml
This space is to collaborate on the Ansible xml module. Feel free to add ideas or help out where you can.
- This module ships with Ansible v2.4 !
- We are looking for more active maintainers. If you want to help, let us know !
- Dag Wieers (@dagwieers)
- Marko Stanković (@sm4rk0)
- Christopher Prescott (@cmprescott)
Upstream xml module to ship with Ansible v2.4 -- (@dagwieers) Done: PR#25323Add examples using namespaces to module document -- (@sm4rk0) Done: PR#28113Add stub issue/PR templates in https://github.com/cmprescott/ansible-xml (@sm4rk0) DoneUpdate README and repo title at https://github.com/cmprescott/ansible-xmlAdd diff support -- (@dagwieers) #27952 #28592Add backup support -- (@dagwieers) #27949 #28595-
Make parameters combinations more restricted -- (@dagwieers) #28657Implement required_by functionality in param_spec -- (@dagwieers) #28662
Fix issues with idempotency/change detection -- (@dagwieers) #28460Document reading attribute value in Ansible -- (@dagwieers) #27951Close all open issues on original repository -- open issues
- Review open issues -- open issues
- Make adding attribute values work with just xpath (no attribute parameter)
- lxml >= 2.3.0 is required but CentOS 6.x has 2.2.3. Workaround: install pip, libxml2-devel and libxslt-devel (using yum) and then
sudo pip install lxml
(gets you v3.8.0 at the moment - August 2017.) References: cmprescott/ansible-xml#114, cmprescott/ansible-xml#115 - lxml >= 3.0.0 is required for predictable ordering of attributes, the module will warn if the lxml version is lower than 3.0.0.
- White spaces between tags will break
pretty_print
. Reference: cmprescott/ansible-xml#84
- Currently
pretty_print
forcesremove_blank_text
and maybe that's not always needed/wanted ? - What is considered a change ?
- Does a modification to the XML file or the xmlstring count as a change ?
- Or do we only look at XML object changes ?
- Implement different XML output rules #28920
- Specific error message in case of XPath exceptions due to missing namespace argument, as this is the common stumbling stone for this module.
The original repository for this module was located at: https://github.com/cmprescott/ansible-xml
This Wiki is used for quick notes, not for support or documentation.
Working groups are now in the Ansible forum
Ansible project:
Community,
Contributor Experience,
Docs,
News,
Outreach,
RelEng,
Testing
Cloud:
AWS,
Azure,
CloudStack,
Container,
DigitalOcean,
Docker,
hcloud,
Kubernetes,
Linode,
OpenStack,
oVirt,
Virt,
VMware
Networking:
ACI,
AVI,
F5,
Meraki,
Network,
NXOS
Ansible Developer Tools:
Ansible-developer-tools
Software:
Crypto,
Foreman,
GDrive,
GitLab,
Grafana,
IPA,
JBoss,
MongoDB,
MySQL,
PostgreSQL,
RabbitMQ,
Zabbix
System:
AIX,
BSD,
HP-UX,
macOS,
Remote Management,
Solaris,
Windows
Security:
Security-Automation,
Lockdown
Tooling:
AWX,
Galaxy,
Molecule
Plugins:
httpapi