Tag: ansible modules

How to Install Software with Ansible

In this video, I go over how to install software using Ansible package managers APT and Yum 📁 Code Available here: https://devopslifecycle.com/lessons/11/installing-packages-with-ansible ☕ Buy me a coffee: https://www.buymeacoffee.com/bradmorg 👨‍💻 Join…

Learn How To Use Ansible To Provision Azure VM Linux Server

Let’s use Ansible to configure and provision a new server in Azure for running game servers. This video makes for a good summary of the Ansible stuff I’ve covered in…

Ansible Playbook To Create Partitions | Tech Arkit | Ansible Tutorial

In this video session we are going to learn how to create standard partition using ansible playbook. Used Ansible Modules ► parted ► filesystem ► file ► mount #ansible #playbook…

Test Windows host availability – Ansible module win_ping

How to test Windows host availability? Today we’re going to talk about the simplest way to test if a Windows-managed host is available to receive our commands. Ansible module win_ping.…

#Shorts How to install Ansible with PIP #ansible #automation #linux #python

How to install Ansible with PIP – the Python package manager. https://www.ansiblepilot.com/ Learn Ansible in course by 90+ examples: https://courses.ansiblepilot.com/ansiblebyexamples My Book reading list: https://amzn.to/31fK9qN The Art Of War by…

Load and Unload Kernel Modules in Linux – Ansible module modprobe

How to automate the Linux Kernel module loading of the “dummy” module with parameters on an example machine with Ansible. https://www.ansiblepilot.com/articles/load-and-unload-kernel-modules-in-linux-ansible-module-modprobe/ Timestamps 00:00 Introduction 00:21 community.general.modprobe Ansible module 00:57 parameters of…

Set the SELinux Policy States and Modes on Linux – Ansible module selinux

How to automate the setting and verification of the “enforcing” SELinux mode and state with “targeted” policy and relabel the filesystem if necessary on Linux target with Ansible. https://www.ansiblepilot.com/articles/set-the-selinux-policy-states-and-modes-on-linux-ansible-module-selinux/ Timestamps 00:00…

Enable user account – Ansible module user

How to enable a user without password lock and with the appropriate shell in Linux. https://www.ansiblepilot.com/articles/enable-user-account-ansible-module-user/ Timestamps 00:00 Introduction 00:18 ansible.builtin.user Ansible module 01:02 parameters of ansible.builtin.user 02:41 user module…

Check if a file exists – Ansible module stat

How to check if a file exists in Ansible? I’m going to show you a live demo and some simple Ansible code. I’m going to show you how to combine…

Rename file or directory – Ansible module copy and file

How to rename a file or directory foo, check the file existence, and perform the verification in a live demo and some simple Ansible code. https://www.ansiblepilot.com/articles/rename-file-or-directory-ansible-module-copy-and-file/ Timestamps 00:00 Introduction 00:23…

How to Pass Variables to Ansible Playbook in the command line? – Ansible extra variables

How to pass or override an Ansible Playbook variable from the command line in plaintext, JSON, or YAML. Very useful to combine some script, automation, or shell variables. Example with…

Automation with Ansible Playbooks | Install a package using yum module on Linux Managed Nodes

Follow this link ( https://www.youtube.com/watch?v=dg6hltm8VEE&t=0s ) to get Udemy Links with Coupon Codes for my Courses 1. Bash Shell Scripting 2. Python Scripting 3. AWS Automation with Boto3 of Python…

Change user password – Ansible module user

How to write an Ansible Playbook to assign the password “password” to an “example” user account in a Linux system with SHA512 encryption. https://www.ansiblepilot.com/articles/disable-user-account-ansible-module-user/ Timestamps 00:00 Introduction 00:20 ansible.builtin.user Ansible…

Copy files from remote hosts – Remote to Local – Ansible module fetch

How to copy files from remote hosts with Ansible? Simple code how to copy /var/log/messages from managed host to controller. https://www.ansiblepilot.com/articles/copy-files-from-remote-hosts-ansible-module-fetch/ Learn Ansible in course by 100+ examples: https://courses.ansiblepilot.com/ansiblebyexamples FREE…

Reboot remote hosts – Ansible module reboot

How to reboot remote hosts with Ansible specifying the notification message to logged users, the delay seconds, and the verification command. Live demo and fun included 😉 https://www.ansiblepilot.com/articles/reboot-remote-hosts-ansible-module-reboot/ Learn Ansible…

Ansible Tutorial | What is Ansible | Ansible | DevOps Tools | Edureka

***** DevOps Training : https://www.edureka.co/devops-certification-training ***** This Ansible Tutorial (Ansible blog series : https://goo.gl/Gxyioq ) takes you through the different features & architecture of Ansible. It will also tell you…

Restart services on remote hosts – Ansible module service

How to restart services on a managed host using Ansible? The service module supports init systems include BSD init, OpenRC, SysV, Solaris SMF, systemd, upstart. I’m going to show you…

Reboot Windows hosts Ansible module win_reboot

How to reboot Windows remote hosts with Ansible specifying the notification message to logged users, the delay seconds, and the verification command. https://www.ansiblepilot.com/articles/reboot-windows-hosts-ansible-module-win_reboot/ Learn Ansible in course by 90+ examples:…

Edit single line text – Ansible module lineinfile

How to edit a single-line text in a file with Ansible module lineinfile customize your /etc/ssh/sshd_config. https://www.ansiblepilot.com/articles/edit-single-line-text-ansible-module-lineinfile/ Learn Ansible in course by 90+ examples: https://courses.ansiblepilot.com/ansiblebyexamples My Book reading list: https://amzn.to/31fK9qN…

Open firewall ports in Debian like systems – Ansible module ufw

How to open firewall HTTP and HTTPS ports in Debian-like systems using Ansible and ufw, the Uncomplicated Firewall. I’m going to show you a live demo and some simple Ansible…

Install Windows software – Ansible module win_chocolatey

How to Install Windows software with Ansible? Today I’m going to reveal a secret to installing software in a Windows-managed host using Chocolatey Package Manager. https://www.ansiblepilot.com/articles/install-windows-software-ansible-module-win-chocolatey/ Timestamps 00:00 Introduction 00:23…

Create a user account – Ansible module user

How to create an example user with home directory, groups, password, and SSH key file with Ansible Playbook. https://www.ansiblepilot.com/articles/create-user-account-ansible-module-user/ Learn Ansible in course by 100+ examples: https://courses.ansiblepilot.com/ansiblebyexamples FREE Top 10…

Ansible Tutorial Class 3 | Ansible Manual Inventory | Tech Arkit

Ansible can work with one and more servers in your environment. Ansible is an agentless orchestration architecture. It can establish an connection between Linux/Unix like operating systems using SSH protocol…

Ansible Playbook Tutorial | How to Install Package and Start Service Using Ansible Playbook

This a ansible playbook tutorial for beginner, in this topic we will learn how to install package using ansible playbook, how to start service using ansible playbook and how to…

Copy files to Windows remote hosts – Local to Remote – Ansible module win_copy

How to copy report.txt file to Windows remote hosts using Ansible module win_copy. https://www.ansiblepilot.com/articles/copy-files-to-windows-remote-hosts-ansible-module-win_copy/ Learn Ansible in course by 100+ examples: https://courses.ansiblepilot.com/ansiblebyexamples FREE Top 10 Best Practices of Ansible Automation:…

Ansible troubleshooting – PowerShell incompatible with the sudo become plugin

How to reproduce, troubleshoot, and fix the “The PowerShell shell family is incompatible with the sudo become plugin” Ansible runtime error. https://www.ansiblepilot.com/articles/ansible-troubleshooting-powershell-incompatible-with-the-sudo-become-plugin/ Timestamps 00:00 Introduction 00:55 error reproducer playbook 02:05…

Ansible Playbook Tutorial | Ansible Tutorial For Beginners | DevOps Tools | Ansible Playbook|Edureka

***** DevOps Training : https://www.edureka.co/devops-certification-training ***** This Ansible Tutorial (Ansible blog series : https://goo.gl/Gxyioq ) will tell you all about Configuration Management and addresses the problems that were before Configuration…

Red Hat Ansible Tower Demo

▶️ ANSIBLE TOWER DEMO —————————————— Red Hat Ansible Tower is the best way to run Ansible in your organization. Red Hat Ansible Tower is more than the web UI and…