Ansible でサーバ構築するための情報まとめ

インフラサーバ

Ansible 記事のまとめです。

Ansible 概要とインストール手順

Ansibleのインストール手順(CentOS 8)

Ansible 2.9 から 2.10 へ移行時の考慮点まとめ

基礎項目

Facts について

Ansible:Factsについて(Ansible 2.9.6)

変数について

Ansible:変数について(Ansible 2.9.6)

モジュール

command モジュール

Ansible:commandモジュールについて(Ansible 2.9.6)

copy モジュール

Ansible:copyモジュールについて(Ansible 2.9.6)

file モジュール

Ansible:fileモジュールについて(Ansible 2.9.6)

firewalld モジュール

Ansible:firewalldモジュールについて(Ansible 2.9.6)

get_url モジュール

Ansible:get_urlモジュールについて(Ansible 2.9.6)

lineinfile モジュール

Ansible:lineinfileモジュールについて(Ansible 2.9.6)

service モジュール

Ansible:serviceモジュールについて(Ansible 2.9.6)

template モジュール

Ansible:templateモジュールについて(Ansible 2.9.6)

unarchive モジュール

Ansible:unarchiveモジュールについて(Ansible 2.9.6)

user モジュール

Ansible:userモジュールについて(Ansible 2.9.6)

yum モジュール

Ansible:yumモジュールについて(Ansible 2.9.6)

繰り返し処理

with_items について

Ansible:with_itemsについて(Ansible 2.9.6)

ノウハウ

Reboot 後も処理を継続する方法

Ansible:Reboot 後も処理を継続する方法(Ansible 2.9.6)

タスクリストを読み込む

Ansible:include_tasksでタスクリストを読み込む(Ansible 2.9.6)

タスク実行条件を指定する

Ansible:when でタスク実行条件を指定する(Ansible 2.9.6)

Role について

Role の基礎

Ansible:Role の基礎(Ansible 2.9.6)

活用例

WordPress インストールにおける Ansible の活用

WordPress インストールにおける Ansible の活用(CentOS 8)

Ansible でDNSサーバ構築

AnsibleでDNSサーバを構築する(Ansible 2.9.2)

Ansible X FortiGate

Ansible X FortiGate 記事まとめ

その他

(個人レベルでの)Ansible 検証環境構築の際は LXD の使用をおすすめします。

LXDを使用して瞬時にサーバを量産する(Ubuntu18.04)

参考資料

Index of all Modules — Ansible Documentation
Ansible Porting Guides — Ansible Documentation
タイトルとURLをコピーしました