ElaoInfra.files

Ansible Role: files

This role will assume the configuration of files.

It's part of the ELAO Ansible stack but can be used as a stand alone component.

Requirements

  • Ansible 1.7.2+

Dependencies

None.

Installation

Ansible 2+

Using ansible galaxy cli:

ansible-galaxy install elao.files,2.0

Using ansible galaxy requirements file:

- src:     elao.files
  version: 2.0

Ansible 1 (no longer maintained)

Using ansible galaxy cli:

ansible-galaxy install elao.files,1.0

Using ansible galaxy requirements file:

- src:     elao.files
  version: 1.0

Role Variables

Name Default Type Description
elao_files {} Array Files attributes

Configuration example

elao_files:
  - path: /var/log/symfony
    state: directory
  - path: /var/cache/symfony
    state: directory

Example playbook

- hosts: servers
  roles:
     - { role: elao.files }

Licence

MIT

Author information

ELAO (http://www.elao.com/)

Install
ansible-galaxy install ElaoInfra.files
GitHub repository
License
Unknown
Downloads
370
Owner
All of those roles aren't maintained anymore and we strongly encourage you to switch to our new (maintained and tested) Ansible stack: https://github.com/manala