Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).