https://github.com/hyperized/ansible-patch
Patching Ansible :)
https://github.com/hyperized/ansible-patch
ansible patch
Last synced: 11 months ago
JSON representation
Patching Ansible :)
- Host: GitHub
- URL: https://github.com/hyperized/ansible-patch
- Owner: hyperized
- License: mit
- Created: 2017-05-04T10:32:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-04T10:39:05.000Z (almost 9 years ago)
- Last Synced: 2025-01-06T00:29:38.016Z (about 1 year ago)
- Topics: ansible, patch
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
hyperized.patch
=========
Sometimes you need Ansible to patch Ansible when there's no recent release with your fix available.
Requirements
------------
Ansible 2.1 or above is highly recommended.
Role Variables
--------------
ansible_patch_dir: /usr/local/lib/python2.7/dist-packages/ansible
ansible_patch_dict: {}
# some_module:
# file: some_module.py
# path: modules/extras/some_module
ansible_patch_user: root
ansible_patch_group: staff
ansible_patch_mode: 0644
Dependencies
------------
None
Example Playbook
----------------
Place the .py files you want to patch in /files, adjust ansible_patch_dict to match that pattern.
- hosts: my_ansible_server
become: yes
roles:
- { role: hyperized.patch }
License
-------
MIT
Author Information
------------------
Gerben Geijteman