Cannot set command timeout per task with network_cli Ansible 的委托 并发和任务超时 - name: run command ios_command: commands: - show version vars: ansible_command_timeout: 40
Links
All posts
How to Create Temporary Files in Bash: mktemp and trap mktemp command The generated temp file name is random and readable/writable only by the user. To ensure creation succeeds, append OR (||) after mktemp to …
Getting Started with GitHub Actions
How Does Nginx Defend Against DDoS? Nginx limit module for access rate and max concurrent connections (DDoS protection) ngx_http_limit_req_module limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s; …
Golang Service Exceeded File Handle Limit (too many open files) Check system config: ulimit -a | grep open. The system config is normal. Check the service file limit: cat /proc/40636/limits. The service did …
Trellis Ansible Bad Interpreter Error Bad Interpreter Error Error we got using Ansible was a bad interpreter error. Python 2.7 is not to be found: zsh: /usr/local/bin/ansible-vault: bad interpreter: …
Load Balancing with iptables and ip rule Steps This example uses an Arch Linux device with two Internet uplinks: eth0 and eth1. The mapping is: Mark 10 (0xa) - Routing table #110 - use eth0 Mark 11 (0xb) - …
htop explained
Some Jenkinsfile examples Parallel #!/usr/bin/env groovy pipeline { agent any stages { stage("Build") { steps { sh 'mvn -v' } } stage("Testing") { parallel { stage("Unit Tests") { agent { docker …
Jinja docx template, avoiding new line in nested for
What the f*ck Python! 🐍
Fighting ISP Cache Hijacking Again with iptables Cause The fight against the carrier cache problem started two years ago. The carrier even cached cnpm data. Worse, their cache servers were not only slow like a …