Company
Date Published
Author
wpengine
Word count
1457
Language
English
Hacker News points
None

Summary

At Nylas, the infrastructure team utilizes Ansible to manage server configurations with a unique "role-per-host" design, simplifying automation by reducing the need for multiple playbooks and running tasks hourly via ansible-pull. This approach emphasizes consistency and modularity, allowing for scalable and less error-prone infrastructure management. The system employs stub playbooks to run specific roles, which are assigned based on server tags and dependencies, ensuring that each server only runs relevant automation. This method mirrors the concept of wrapper cookbooks in Chef, promoting modularity and ease of sharing automation tasks. Additionally, Nylas has developed a tool called ansible-test, which leverages Docker to test Ansible playbooks and roles locally before deployment, enhancing reliability and reducing the risk of errors in production environments. The company is committed to extending ansible-test's capabilities and sharing their practices to benefit the broader community.