Ansible Pilot
About
Contact
Book
Video
Articles
file
Oct 9, 22
Read a JSON file into a variable - Ansible lookup plugin file
How to automate the reading of example.json file on Ansible host, assign to a variable and use in your Ansible Playbook code.
#ansible
#plugin
#lookup
#file
#example
#read
#json
#from_json
May 10, 22
How to Delete Only Files Inside a Directory - Ansible module find
How to automate the search and delete of the files and directories inside a directory keeping the main folder with Ansible modules find and file.
#ansible
#find
#file
#linux
#file
#directory
#delete
Apr 4, 22
Backup With Robocopy on Windows - Ansible module win_robocopy
How to automate the backup synchronization of an “examples” folder to “examples-backup” on Windows using RoboCopy with Ansible module win_robocopy.
#ansible
#backup
#file
#directory
#sync
#robocopy
#windows
#rsync
Mar 30, 22
Add Execute Permission 755 Linux file - Ansible module file
How to automate the setting of execute permission 755 for example.sh Linux file with Ansible module file.
#ansible
#file
#module
#permission
#filesystem
#linux
#redhat
#ubuntu
#chmod
Mar 15, 22
Check if a file exists on Windows-like systems - Ansible module win_stat
How to automate the checking of the “example.txt” file on the Desktop of the user in the Windows system and display a message or execute a task accordingly with Ansible Playbook.
#ansible
#win_stat
#module
#file
Mar 14, 22
Create a directory on Windows-like systems - Ansible module win_file
How to automate the creation of "example" folder in the user Desktop on Windows-like hosts with Ansible Playbook.
#ansible
#file
#module
#directory
#windows
#folder
#windows-server
Feb 16, 22
Read a file into a variable on host - Ansible lookup plugin file
How to automate the reading of example.txt file on Ansible host, assign to a variable and use in your Ansible Playbook code.
#ansible
#plugin
#lookup
#file
#example
#read
Feb 1, 22
Extract an archive in Windows-like systems - Ansible module win_unzip
How to automate the extraction of an example ZIP compressed archive with a text file inside creating the output directory on a Windows-like system with Ansible module win_unzip
#ansible
#unarchive
#module
#file
#windows
#zip
#unzip
Jan 27, 22
Create an empty file in Windows-like systems - Ansible module win_file
How to automate the creation of an empty “example.txt” in the Desktop of your users in Windows-like systems with Ansible Playbook.
#ansible
#file
#module
#filesystem
#win_file
#windows
#windows-server
Dec 14, 21
Create a hard link in Linux - Ansible module file
How to create a "hard link" that references the "example.txt" text file in the Linux filesystem with Ansible. Simple Ansible code and verification included.
#ansible
#file
#module
#hard
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#link
Nov 17, 21
Create a directory in Linux - Ansible module file
How to set up the "~/example" directory, set the user and group ownership, and UNIX mode 0644 in Linux with Ansible.
#ansible
#file
#module
#directory
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
Nov 15, 21
Create a symbolic link (also symlink or soft link) in Linux - Ansible module file
How to create an "example" symbolic/soft link to "/proc/cpuinfo" on Linux filesystem using Ansible
#ansible
#file
#module
#link
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#filesystem
««
«
1
2
»
»»
Red Hat Security Bulletin
FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress
Follow me
Subscribe not to miss any new releases
Search
Results
No results found
Try adjusting your search query
x
x