| Crates.io | ansible_module |
| lib.rs | ansible_module |
| version | 0.2.0 |
| created_at | 2025-07-06 10:40:33.856496+00 |
| updated_at | 2025-08-15 21:30:28.264664+00 |
| description | Framework to write Ansible modules with Rust |
| homepage | |
| repository | https://github.com/bakanovskii/ansible_module_rs |
| max_upload_size | |
| id | 1740059 |
| size | 66,075 |
This is a framework to write binary modules using Rust languange
It tries to be somewhat similar to a Python AnsibleModule from ansible.module_utils.basic
You can write binary modules in Rust if performance is critical but keep in mind that Ansible itself is not very fast so if your playbook runs slow rewriting modules from Python would not help. If your goal is to optimize the overall performance rather than optimising one particular bottlenecked module you should use builtin features such as pipelining, smart gathering and etc.
Compared to https://docs.ansible.com/ansible/latest/dev_guide/developing_program_flow_modules.html#argument-spec
Dependencies between module options (see: https://docs.ansible.com/ansible/latest/dev_guide/developing_program_flow_modules.html#dependencies-between-module-options):
Module arguments:
Methods to use internal arguments (see: https://docs.ansible.com/ansible/latest/dev_guide/developing_program_flow_modules.html#internal-arguments), for now it deserializes these arguments but makes no use of them: