Tag: automation
All the articles with the tag "automation".
-
Techniques for Writing Robust, Reliable Bash Scripts
Write bash scripts that don't silently fail — set -euo pipefail, error handling, input validation, and logging patterns for production scripts.
-
Ansible: Task and Role Inclusions for Efficient Automation
Stop copy-pasting Ansible tasks across playbooks — use include_tasks, import_tasks, and roles to keep your automation DRY and maintainable.
-
DevOps Tools: Ansible vs. Puppet vs. Salt vs. Chef
Ansible, Puppet, Salt, and Chef all do configuration management — but they're very different. Pick the right one before you commit.
-
Optimizing Ansible for Faster Playbook Execution
Speed up Ansible playbooks with pipelining, forks, fact caching, and async tasks — stop watching the spinning wheel on every play.
-
Automating Docker via Ansible
Automate Docker container deployment with shell scripts, cron, and Ansible — stop SSHing in and restarting things by hand.
-
Remove spaces from file names via bash
Bulk rename files to replace spaces with underscores or dashes using bash — for loops, rename, and find patterns that actually work.
-
Bash for loops sequential counting
Master bash for loops, while loops, and seq for sequential counting — iterate over files, ranges, and arrays without losing your mind.