Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何在新開一台機器時執行 Ansible Playbook? #11

Open
chusiang opened this issue Jan 23, 2017 · 1 comment
Open

如何在新開一台機器時執行 Ansible Playbook? #11

chusiang opened this issue Jan 23, 2017 · 1 comment

Comments

@chusiang
Copy link
Member

在 Auto scaling 的架構下,往往會藉由 Ansible + Packer 打包好 AWS AMI 或 Docker image,當新開一台機器時,要怎麼藉由 Ansible 執行部署的動作?

@chusiang
Copy link
Member Author

理論上可透過 ansible-pull 搭配 /etc/init.d/rc.local 或 AWS EC2 的 User Data 可以辦到,再找機會實作了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant