Document

SUBSCRIBE TO GET FULL ACCESS TO THE E-BOOKS FOR FREE 🎁SUBSCRIBE NOW

Professional Dropdown with Icon

SUBSCRIBE NOW TO GET FREE ACCESS TO EBOOKS

Category Uncategorized

Ansible Jinja Template

Ansible Jinja Template  It puts the files onto a remote system using jinja2 templating language. Ansible template Module Example: Template a single file    Step 1: Create a file called my_app.conf.j2 and add below content env = {{ env }} local_id…

Ansible File Module

Ansible File Module file module in ansible deals with file/directory-related operations. Example 1:-  Change file permission and ownership Playbook: fileper.yaml — – name: play for file module hosts: webservers tasks: – name: Change file permssion file: path: owner: vagrant…

Elementor #394

Ansible Playbooks Examples  Prerequisite:   Ansible should be installed on the master node. Should have root access to Master and other nodes Not  mandatory but In …  Ansible- Roles Ansible – Vault Ansible file Module    Prerequisite:    Ansible should be installed on…

 Ansible-Adhoc Commands

Ansible-Adhoc Commands Prerequisite:   Ansible should be installed on the master node. Should have root access to Master and other nodes Not  mandatory but In my…  Ansible file Module Ansible Playbook Assignment Ansible Playbooks Examples   Prerequisite:    Ansible should be installed on…

Ansible Inventory File

Ansible – Inventory File Ansible Inventory file An Ansible controller needs a list of hosts and groups of hosts upon which commands, modules, and tasks are performed…  Ansible- Roles Ansible – Vault Ansible file Module  Ansible Inventory file An Ansible controller needs…

 Ansible Installation

 Ansible Installation  Step1:- On the machine with Ansible, generate the SSH key Syntax: ssh-keygen Step 2:Copy the generated SSH keys onto the hosts using copy id command Step3: Before installing Ansible package add Ansible repository to your system Syntax: sudo…

Ansible – Yaml – Syntax

Ansible – Yaml – Syntax YAML is very commonly used language in DevOps. Below are some basic syntax for YAML 1. Key Value pair name: Ansible Version: 2.3.4 2. Array …  Ansible – Vault Ansible file Module Ansible Playbook Assignment  YAML is…

Puppet Modules

Puppet Modules  In Puppet, a module can be defined as a collection of resources, classes, files, definition, and templates. Puppet supports easy re-distribution of modules, which is very helpful in modularity of code as one can write a specified generic…

Puppet Templates

Puppet Template    Templating is a method of getting things in a standard format, which can be used in multiple locations Template Combine code and data to render a final document(like PHP) Useful for complex configuration files you would like…