file

Read a JSON file into a variable - Ansible lookup plugin file

How to Read a JSON file into a variable on the host with Ansible?

Continue reading

How to Delete Only Files Inside a Directory - Ansible module find

How to Delete Only Files Inside a Directory with Ansible? I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

Backup With Robocopy on Windows - Ansible module win_robocopy

How to Backup With Robocopy on Windows with Ansible? I’m going to show you a live Playbook and some simple Ansible code.

Continue reading

Set Execute Permission (a+x) on Linux File Using Ansible

How to Add Execute Permission 755 on Linux file with Ansible?

Continue reading

Verify File Existence on Windows with Ansible

How to Check if a file exists on Windows-like systems with Ansible?

Continue reading

Create Directories in Windows Systems Using Ansible

How to create a directory in Windows-like systems with Ansible? I’m going to show you a live Playbook and some simple Ansible code.

Continue reading

Read a file into a variable on host - Ansible lookup plugin file

How to read a file into a variable on the host with Ansible?

Continue reading

Extract an archive in Windows-like systems - Ansible module win_unzip

How to extract a ZIP compressed archive in Windows-like systems in Ansible?

Continue reading

Create an empty file in Windows-like systems - Ansible module win_file

How to create an empty file in Windows-like systems with Ansible?

Continue reading

Create Hard Links in Linux with Ansible Playbooks

How to create a hard link in Linux with Ansible? I’m going to show you a live Playbook and some simple Ansible code.

Continue reading

Create a directory in Linux - Ansible module file

How to create a directory with Ansible? I’m going to show you a live Playbook and some simple Ansible code.

Continue reading

Ansible File Module Demo: Create Symlinks Easily

How to create a symbolic link with Ansible? I’m going to show you a live Playbook and some simple Ansible code.

Continue reading

Rename file or directory - Ansible module copy and file

How to rename a file or directory using an Ansible task on a remote system?

Continue reading

Create Text Files with Ansible: Simple Playbook Guide

I’m going to show you a live Playbook with some simple Ansible code.

Continue reading

Create an empty file - Ansible module file

Create an empty file - Ansible module file How to create an empty ~/example.

Continue reading

Extract an archive - Ansible module unarchive

How to extract an archive in Ansible? I’m going to show you a live Playbook and some simple Ansible code.

Continue reading

How to Check If a File Exists in Ansible

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

Continue reading