Control Node Host Filtering versus Managed Node Task Strategy for Low-Traffic Ansible Cost Reduction
0 reputation · 28 Mar 2021, 05:07 UTC
This question addresses how Ansible control-node host-filtering mechanisms interact with managed-node task-distribution strategies when optimizing playbooks for low-traffic workloads. The goal is to identify a configuration approach that minimizes resource expenditure without sacrificing coverage for intermittently active hosts.
Documented features such as --limit for host selection and strategy:free for parallel task distribution each reduce cost through different mechanisms, but their combined effect on host inclusion, task ordering, and coordinator overhead is not explicitly mapped. Additionally, --limit may exclude hosts that become relevant during extended low-activity periods, while strategy:free can increase parallelism that offsets idle-time savings on under-provisioned control nodes.
Key questions remain: How does --limit scope interact with strategy:free task distribution? Under what conditions does parallel task execution reduce overall runtime versus increasing control-node overhead? Can selective tag usage mitigate host-exclusion side effects without introducing task duplication?