https://github.com/nomakcooper/collection
Custom Ansible Module Collection
https://github.com/nomakcooper/collection
ansible ansible-collection ansible-modules python python3 yaml
Last synced: about 1 year ago
JSON representation
Custom Ansible Module Collection
- Host: GitHub
- URL: https://github.com/nomakcooper/collection
- Owner: NomakCooper
- License: gpl-3.0
- Created: 2025-02-07T15:45:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-04T19:23:27.000Z (over 1 year ago)
- Last Synced: 2025-03-04T19:26:30.385Z (over 1 year ago)
- Topics: ansible, ansible-collection, ansible-modules, python, python3, yaml
- Language: Python
- Homepage: https://galaxy.ansible.com/ui/repo/published/nomakcooper/collection/
- Size: 5.26 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Collection - nomakcooper.collection





[](https://galaxy.ansible.com/ui/repo/published/nomakcooper/collection/)
[](https://github.com/nomakcooper/collection/actions)
[](https://app.codecov.io/gh/nomakcooper/collection)
## Documentation for the collection.
* This collection includes some custom modules developed by [@NomakCooper](https://github.com/NomakCooper).
### How to use this collection and module
* collection install :
```bash
$ ansible-galaxy collection install nomakcooper.collection
```
* [**Recommended**] install dependences **role** ( required for charts module ):
```yaml
- name: Install Dependencies on CN
hosts: all
gather_facts: no
roles:
- role: nomakcooper.collection.install_dep
```
```yaml
- name: Install Dependencies on CN
hosts: all
gather_facts: no
pre_tasks:
- name: install dependencies
block:
- include_role:
name: nomakcooper.collection.install_dep
become: false
```
* install dependences ( required for charts module ):
```bash
# Ansible Core requirements.txt
$ pip install -r ~/.ansible/collections/ansible_collections/nomakcooper/collection/meta/requirements.txt
```
```bash
# AWX/Tower requirements.txt
$ pip install -r /var/lib/awx/venv/ansible/meta/requirements.txt
```
```bash
# Ansible Core install_dependencies.yml
$ ansible-playbook install_dependencies.yml
```
* module usage :
```yaml
- name: Retrieve load average for today
nomakcooper.collection.sar_facts:
type: "load"
```