Skip to content
This role creates directories and files, render templates, copies files on host, etc. It is useful to preconfigure docker-packaged software.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
defaults
meta
tasks
.gitignore
.travis.yml
README.md

README.md

Ansible Role: configurator

This role creates directories and files, render templates, copies files on host, etc. It is useful to preconfigure docker-packaged software.

Requirements

Ubuntu 16.04

Features

  • Files and directories recursively deleting (configurator.delete settings dictionary, tag configurator-delete, also triggered on every other tag)
  • Full directory copying (configurator.fulldirs). Already existing files in dest will not be touched, if not changed or not exists in src. Be careful with trailing slashes (behavior is similar to rsync, see docpage for copy Ansible module)
  • Directory creation and update its mode, owner, group (configurator.directories)
  • Files copying (configurator.files)
  • Can render and copy templates (config variable configurator.templates, tag configurator-templates). Note you can use variables (including vaulted variables), loops and other Jinja2 features in templates!
  • Symlinks creation (configurator.symlinks)
  • Can notify on change
  • Default values for mode, owner, group, notify can be provided
You can’t perform that action at this time.