てくなべ (tekunabe)

ansible / network automation / 学習メモ

[Ansible/AAP] Ansible Automation Platform のツール・プロダクト群を学べる書籍「Demystifying Ansible Automation Platform」が発売された

はじめに

2022/09/30 に、Ansible Automation Platform(AAP)について解説された書籍(洋書)「Demystifying Ansible Automation Platform」が発売されました。

Ansible をとりまくツールやプロダクト群を学んだり、Automation Controller (旧Ansible Tower)の設定を自動化したいときには良さそうな書籍です。

この度、大変ありがたいことに、本書の著者 Sean Sullivan 氏よりレビューのご依頼をいただき、Packt Publishing より書籍データを頂戴いたしました。まだ読み切っていないのですが、取り急ぎかんたんにご紹介したいと思います。

www.packtpub.com

www.amazon.co.jp

目次

Amazon のページ から目次を引用します。

  1. Introduction to Ansible Automation Platform
  2. Installing Ansible Automation Platform
  3. Installing Ansible Automation Platform on OpenShift
  4. Configuring Settings and Authentication
  5. Configuring the Basics after Installation
  6. Configuring Role-Based Access Control
  7. Creating Inventory, and Other Inventory Pieces
  8. Creating Execution Environments
  9. Automation Hub Management
  10. Creating Job Templates and Workflows
  11. Creating Advanced Workflows and Jobs
  12. Using CI/CD to Interact with Automation Controller
  13. Integration with Other Services
  14. Automating at Scale with Automation Mesh
  15. 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-builderansible-navigator など新しいツールについても書かれています。

引き続き読みすすめていきたいと思います。