DevOps Classroomnotes 12/Aug/2022

Ansible Templates

  • Ansible templates can be used to copy the files with dynamic data loaded from variables
  • Refer Here for the official docs of the template module
  • Refer Here for the changes done to accomodate dynamic values in the service file
  • Refer Here for the changes done to make the users.xml file a dynamic variable based template

Ansible Inventory

  • Inventories in ansible are of two formats
    • ini format
    • yaml format
  • Inventory can be static or dynamic
  • Ini or yaml formats are for static inventories
  • Refer Here for the inventory docs
  • Refer Here for the changeset containing the yaml based inventory file
  • Refer Here for organizing the host and inventory variables.
  • Refer Here for changeset containing ansible inventory with variables organized

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Wordpress Development Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube