Skip to content

A simple Ansible role which will manage static directories on a host.

License

Notifications You must be signed in to change notification settings

ANXS/generic-directories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANXS - generic-directories Build Status

Ansible role which manages directories

Requirements & Dependencies

  • Tested on Ansible 1.4 or higher.

Variables

genericdirectories_directories:
  - path: "/srv/www"
    owner: "www-data"
    group: "www-data"
    mode: "0644"
    recurse: "yes"

genericdirectories_directories_removed:
  - path: "/dir/to/be/removed"

Testing

This project comes with a VagrantFile, this is a fast and easy way to test changes to the role, fire it up with vagrant up

See vagrant docs for getting setup with vagrant

License

Licensed under the MIT License. See the LICENSE file for details.

Feedback, bug-reports, requests, ...

Are welcome!