find
3 Ansible tutorials tagged “find”. Working examples covering automation, configuration management, and DevOps workflows.
Find All Files with Extension — Ansible module find
playbooks · 5
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 find — Delete Files in Dir
playbooks · 4
Find and delete files inside directories with Ansible find module. Filter by age, size, pattern, and type. Complete cleanup playbook examples.
Search for a String in a File — Ansible module lineinfile
playbooks · 4
How to automate searching for the string "PasswordAuthentication no" in the "/etc/ssh/sshd_config" file using Ansible Playbook and the lineinfile module.