https://github.com/victorock/ansible-role-autogen
Ansible Role to autogenerate wrapped Playbooks and Tasks from Ansible Modules.
https://github.com/victorock/ansible-role-autogen
Last synced: 3 months ago
JSON representation
Ansible Role to autogenerate wrapped Playbooks and Tasks from Ansible Modules.
- Host: GitHub
- URL: https://github.com/victorock/ansible-role-autogen
- Owner: victorock
- Created: 2019-05-17T21:49:29.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-27T13:58:12.000Z (almost 6 years ago)
- Last Synced: 2025-01-11T06:10:14.471Z (4 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Playground
=========Role to autogenerate wrapped Playbooks and Tasks from Ansible Modules.
Dependencies
------------None
Requirements
------------pip:
- jmespathRole Variables
--------------None
Dependencies
------------None
Example
----------------```YAML
- name: "Generate Playbooks and Tasks"
hosts: all
roles:
- role: victorock.autogen
autogen: "{{ lookup('ENV', 'ROLE_FULL_NAME') }}"
autogen_repo_url: "{{ lookup('ENV', 'ROLE_REPO') }}"
autogen_repo_branch: "{{ lookup('ENV', 'ROLE_VERSION') }}"
autogen_plugin_namespace: "{{ lookup('ENV', 'ROLE_NAMESPACE') }}"
autogen_path: "{{ lookup('ENV', 'ROLE_BUILD_DIR') }}"```
License
-------GPLv3
Author Information
------------------Victor da Costa