Ansible Pilot
About
Contact
Book
Video
Articles
filesystem
Jul 7, 22
Search for a String in a File - Ansible module lineinfile
How to automate the search of a string “PasswordAuthentication no” in the “/etc/ssh/sshd_config” file using Ansible Playbook and lineinfile module.
#ansible
#search
#filesystem
#linux
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#find
#extension
Jul 7, 22
Find All Files with Extension - Ansible module find
How to automate the finding of all files with “.cnf” extension under the “example” directory of “devops” user using Ansible Playbook and find module.
#ansible
#search
#filesystem
#linux
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
#find
#extension
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 13, 22
Check if a directory exists on Windows-like systems - Ansible module win_stat
How to automate the checking of the "example" directory/folder in the Desktop of the user on the Windows system and display a message or execute a task accordingly with Ansible Playbook.
#ansible
#stat
#module
#directory
#windows
#filesystem
Feb 1, 22
Concatenate multiple files in a specific order - Ansible module template and YAML
How to automate the concatenation of multiple files and format using a list in the YAML and Ansible module template with Jinja2 language. Included example with "a.txt", "b.txt" and "includes.yaml" files for Pandoc.
#ansible
#template
#module
#configuration
#filesystem
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
Jan 4, 22
Ansible troubleshooting - Destination does not exist
How to reproduce the destination does not exist error in Ansible, troubleshooting, and fix to be able to successfully download a file from an URL in a home directory with your Ansible playbook.
#ansible
#troubleshooting
#url
#linux
#download
#error
#fatal
#filesystem
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
Sep 24, 21
Rename file or directory - Ansible module copy and file
How to rename a file or directory "foo", checking the file existence, and performing the verification in a live demo and some simple Ansible code.
#ansible
#rename
#file
#module
#filesystem
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
Sep 22, 21
Create a text file - Ansible module copy
How to create a simple text file with two linex of content in Ansible.
#ansible
#copy
#file
#module
#filesystem
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
Sep 17, 21
Create an empty file - Ansible module file
How to create an empty ~/example.txt file or update the time of an already create file.
#ansible
#file
#module
#filesystem
#rhel
#centos
#fedora
#ubuntu
#debian
#suse
Sep 14, 21
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.
#ansible
#copy
#module
#files
#windows
#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