andyceo.configurator

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
About

This role creates directories and files, render templates, copies files on host, etc.

Install
ansible-galaxy install andyceo.configurator
GitHub repository
License
Unknown
Downloads
74
Owner
Fullstack developer, AI R&D, Master of Computer Science, CTO, Software Architect, Devops, Highload, Blockchain R&D