https://github.com/nspcc-dev/ansible-goodies
ansible goodies collection
https://github.com/nspcc-dev/ansible-goodies
Last synced: 4 months ago
JSON representation
ansible goodies collection
- Host: GitHub
- URL: https://github.com/nspcc-dev/ansible-goodies
- Owner: nspcc-dev
- Created: 2023-07-19T06:00:17.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-02-13T06:38:05.000Z (over 2 years ago)
- Last Synced: 2024-04-14T22:51:08.664Z (about 2 years ago)
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nspcc ansible_goodies collection
This is a collection of simple helpers that used frequently:
- system_user: create a system user
```Yaml
- ansible.builtin.include_role:
name: nspcc.ansible_goodies.system_user
vars:
system_user__user: ''
system_user__group: ''
system_user__home: ''
```
- github: get release from github
```Yaml
- ansible.builtin.include_role:
name: nspcc.ansible_goodies.github
vars:
github__org: ''
github__repo: ''
github__version: ''
github__asset_name: ''
github__args:
dest: ''
owner: ''
group: ''
mode: ''
github__notify: [ 'Restart NeoFS REST service' ]
```
- mkprivdir: make user-chown'ed directory with root-chown'ed parents
```Yaml
- ansible.builtin.include_role:
name: nspcc.ansible_goodies.mkprivdir
vars:
mkprivdir__dir: ''
mkprivdir__user: ''
mkprivdir__group: ''
```
It will probably be rewritten in Python in the future.