DevOps Classroom notes 05/Aug/2025

Ansible Variables

  • Ansible variables can be passed during runtime and at different places

    • playbook
    • inventory
    • roles
    • command line during execution
  • Lets write a simple playbook with a debug module
  • Refer Here for a playbook with inventory and group_vars and host_vars folders

Adopting variables to tomcat playbook

sudo chown -R tomcat:tomcat /opt/tomcat
sudo chmod -R g+r /opt/tomcat/conf
sudo chmod g+x /opt/tomcat/conf
  • Refer Here for changes done to give recursive ownership t tomcat user and and group

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
Plugin for Social Media by Acurax Wordpress Design Studio

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