1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Ansibleは構成管理ツールとしては優秀だがプロビジョニングツールとしては弱め

Posted at

https://www.youtube.com/watch?v=rx4Uh3jv1cA
Ansible vs. Terraform: What's the difference?

(英語(アメリカ合衆国)>>日本語 自動翻訳字幕可)を見て、
Ansibleの(Terraformと比較して)苦手な点は以下あたりなのですね。

  • プロビジョニング
  • 宣言による管理
  • 依存関係の扱い
  • 運用

漠然と思っていたところを言語化してもらえて腑に落ちた。
確かにAnsibleにはリソース間の依存関係を扱う機能は無いですね。。

プロビジョニングをTerraform、構成管理をAnsibleにさせるとして、組み合わせ方としてすぐに思いつくのは、以下あたりか。。

  • Terraformのlocal-exec provisionerなどからAnsibleを実行
  • Ansible Moleculeのdelegated driverからTerraformを実行
  • Ansible PlaybookからTerraformを実行
  • Jenkinsなどからそれぞれを呼び出す

個人的にはMoleculeによる統合が整合性が取れていて好きだが、テスト環境限定かもしれない。

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?