Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hspaans/ansible-role-fd
Ansible Role for maintaining Files and Directories
https://github.com/hspaans/ansible-role-fd
ansible ansible-role directory file
Last synced: 10 days ago
JSON representation
Ansible Role for maintaining Files and Directories
- Host: GitHub
- URL: https://github.com/hspaans/ansible-role-fd
- Owner: hspaans
- License: mit
- Created: 2020-07-10T19:10:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-01T12:32:10.000Z (about 1 month ago)
- Last Synced: 2025-01-31T17:17:32.340Z (14 days ago)
- Topics: ansible, ansible-role, directory, file
- Language: Python
- Homepage:
- Size: 95.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Role Name
Maintain file and directory on a server.
## Requirements
None.
## Role Variables
Default variables are set in `defaults/main.yml`.
## Dependencies
No dependency on other Ansible Galaxy roles.
## Example Playbook
```yaml
---
- hosts: servers
vars:
fd_directories:
- path: /srv/app01
- path: /srv/app02
owner: user01
group: group01
roles:
- { role: hspaans.fd, become: true }
```## License
MIT
## Author Information
This role was created in 2020 by [Hans Spaans](https://github.com/hspaans).