はじめに
2022/09/30 に、Ansible Automation Platform(AAP)について解説された書籍(洋書)「Demystifying Ansible Automation Platform」が発売されました。
Ansible をとりまくツールやプロダクト群を学んだり、Automation Controller (旧Ansible Tower)の設定を自動化したいときには良さそうな書籍です。
この度、大変ありがたいことに、本書の著者 Sean Sullivan 氏よりレビューのご依頼をいただき、Packt Publishing より書籍データを頂戴いたしました。まだ読み切っていないのですが、取り急ぎかんたんにご紹介したいと思います。
目次
Amazon のページ から目次を引用します。
- Introduction to Ansible Automation Platform
- Installing Ansible Automation Platform
- Installing Ansible Automation Platform on OpenShift
- Configuring Settings and Authentication
- Configuring the Basics after Installation
- Configuring Role-Based Access Control
- Creating Inventory, and Other Inventory Pieces
- Creating Execution Environments
- Automation Hub Management
- Creating Job Templates and Workflows
- Creating Advanced Workflows and Jobs
- Using CI/CD to Interact with Automation Controller
- Integration with Other Services
- Automating at Scale with Automation Mesh
- Using Automation Services Catalog
Chapter 1 では、AAP の全体感の説明があります。その後、インストール方法や、RBACのような管理機能、インベントリや Execution Environment (EE: コンテナによる実行環境)、ジョブテンプレート、ワークフローのような、よく使う機能が解説されています。
扱っているのが AAP 2.2 なので、新しいですね。
Configuration as code (CaC)
この書籍の一番の特徴は、AAP 内の製品(Automation ControllerとAutomation Hub)の設定自体を Ansible でやっていくスタイルである点だと思います。画面キャプチャも所々ありますが、それより Playbook のほうが紙面を占めている様子です。
書籍内では Configuration as code (CaC) と呼んでいます。
具体的には、awx.awx
コレクション、ansible.controller
コレクション、それから redhat_cop.controller_configuration
コレクションについて扱われています。
「画面ぽちぽちはつらい、複数台建てるときの差分にも気を遣う・・。自動化できればいいな」という方には良い内容ではないでしょうか。
Automation Controller だけじゃない
AAP の代表的な製品といえば Automation Controller だと思いますが、AAPはそれ以外にも製品・サービスがあります。
個人的にこれまで書籍では見たことがなかったのですが、本書籍では Automation Hub (Chapter 9)や、Automation Service Catalog (Chapter 15)についても書かれています。
Automation Service Catalog は(AAP 2.2 で)オンプレ提供に変わったという点含まて記述されていて、やはりかなり新しい情報が載っているなと思いました。
おわりに
Automation Controller だけでなく、Automation Hub などの他の製品、それから ansible-builder
や ansible-navigator
など新しいツールについても書かれています。
引き続き読みすすめていきたいと思います。