#19: Deploying Files to Managed Host using Ansible Playbook | Modifying & Copying Files to Host

Опубликовано: 10 Октябрь 2024
на канале: A Computer Guru
645
10

Welcome to "Linux Automation with Ansible" Training course. It's a Hands-On course where you can learn by doing. Ansible is a Simple, but powerful Configuration Management Tool. it's also called IaaC (Infrastructure as a Code).This course based on Red Hat Certified Engineer (RH294) with RHEL 8 Version. Follow along this playlist for full series.

https://www.acomputerguru.com/post/an...

Playlist for Linux Automation with Ansible course:
   • Ansible for Absolute Beginners - Linu...  

Playbook used in this video: https://www.acomputerguru.com/post/de...

📌 Deploying Files to Managed Host | Modifying and Copying Files to Hosts
=============================================================
► blockinfile: Insert, update, or remove a block of multiline text surrounded by
customizable marker lines.
► copy: Copy a file from the local or remote machine to a location on a
managed host. Similar to the file module, the copy module can
also set file attributes, including SELinux context
► fetch: This module works like the copy module, but in reverse. This module
is used for fetching files from remote machines to the control node
and storing them in a file tree, organized by host name.
► lineinfile: Ensure that a particular line is in a file, or replace an existing line
using a back-reference regular expression. This module is primarily
useful when you want to change a single line in a file
► stat: Retrieve status information for a file, similar to the Linux stat
command.
► synchronize: A wrapper around the rsync command to make common tasks
quick and easy. The synchronize module is not intended to
provide access to the full power of the rsync command, but does
make the most common invocations easier to implement. You may
still need to call the rsync command directly via the run command
module depending on your use case

Ansible Full Course Playlist:
   • Ansible for Absolute Beginners - Linu...  

AZ-104 Microsoft Azure Administrator course Hands-On Labs for all modules Playlist:.
   • AZ-104 - Microsoft Azure Administrato...  

AZ-305 Microsoft Azure Solutions Architect Expert Playlist:
   • AZ-305 - Microsoft Azure Solutions Ar...  

Windows Server 2019 Hybrid and Azure IaaS Playlist:
   • Windows Server 2019 Hybrid and Azure ...  

PowerShell Tutorial. Automating Administration with windows PowerShell Official Microsoft courseware Playlist:
   • Automating Administration With Window...  

PowerShell Hands-On Labs Playlist:
   • Hands-On Lab-Automating Administratio...  

Windows Server 2016 Playlist:
   • Windows Server 2016-MCSA  

📌 Subscribe to @AComputerGuru channel for more videos.
   / acomputerguru  

📲 Follow us on Social Media:
🌏 Website: https://www.acomputerguru.com
► YouTube:    / acomputerguru  
►Facebook:   / acomputerguru4u  
►Twitter:   / acomputerguru4u  
► Instagram:   / a_computer_guru  

#AnsibleTutorial #AnsibleAutomation #AComputerGuru #ansible #RHCE #ansiblehandsonlab #devops #ansibletraining #devopstrainingvideos #devopstutorial #devopstutorialsforbeginners #devopstools #ansibleforbeginners #linuxadmin #computerguru #acg