Ansible の Module の使い方

Ansible の Module の使い方

無料で読める本

Ansible のモジュールを試した結果をまとめた本です。お気づきの点などがございましたらご指摘ください。

Chapters
Chapter 01

はじめに

Chapter 02

環境

Chapter 03

環境(カスタムコンテナ)

Chapter 04

Module Index

Chapter 05

注意することと使用例

Chapter 06

ansible.builtin.apt - apt パッケージマネージャーを使用してパッケージの管理をする

Chapter 07

ansible.builtin.apt - apt パッケージマネージャーを使用してパッケージの管理をする(続き)

Chapter 08

ansible.builtin.blockinfile - テキストファイルの内容を複数行単位で編集する

Chapter 09

ansible.builtin.blockinfile - テキストファイルの内容を複数行単位で編集する(続き)

Chapter 10

ansible.builtin.command - コマンドを実行する

Chapter 11

ansible.builtin.copy - 管理対象ノードにファイルをコピーする

Chapter 12

ansible.builtin.debug - メッセージや変数の値を表示する

Chapter 13

ansible.builtin.dnf - dnf パッケージマネージャーを使用してパッケージの管理をする

Chapter 14

ansible.builtin.dnf - dnf パッケージマネージャーを使用してパッケージの管理をする(続き)

Chapter 15

ansible.builtin.fail - タスクの実行を失敗する

Chapter 16

ansible.builtin.fetch - コントロールノードにファイルをコピーする

Chapter 17

ansible.builtin.file - ファイルとディレクトリのプロパティを管理する

Chapter 18

ansible.builtin.get_url - 指定した URL からファイルをダウンロードする

Chapter 19

ansible.builtin.group - グループを追加・削除する

Chapter 20

ansible.builtin.hostname - ホスト名を設定する

Chapter 21

ansible.builtin.lineinfile - テキストファイルの内容を行単位で編集する

Chapter 22

ansible.builtin.lineinfile - テキストファイルの内容を行単位で編集する(続き)

Chapter 23

ansible.builtin.package - 汎用パッケージマネージャーを使用してパッケージの管理をする

Chapter 24

ansible.builtin.package - 汎用パッケージマネージャーを使用してパッケージの管理をする(続き)

Chapter 25

ansible.builtin.pip - Python で書かれたパッケージを管理する

Chapter 26

ansible.builtin.reboot - 再起動する

Chapter 27

ansible.builtin.replace - テキストファイル内の文字列を置換する

Chapter 28

ansible.builtin.rpm_key - rpm データベースに GPG キーを追加 / 削除する

Chapter 29

ansible.builtin.shell - シェルコマンドを実行する

Chapter 30

ansible.builtin.stat - ファイルやディレクトリーのプロパティを取得する

Chapter 31

ansible.builtin.systemd - systemd ユニットを管理する

Chapter 32

ansible.builtin.template - 管理対象ノードにテンプレートファイルをコピーする

Chapter 33

ansible.builtin.unarchive - アーカイブファイルを展開する

Chapter 34

ansible.builtin.user - ユーザーアカウントを管理する

Chapter 35

ansible.builtin.yum - yum パッケージマネージャーを使用してパッケージの管理をする

Chapter 36

ansible.builtin.yum_repository - yum リポジトリを追加または削除する

Chapter 37

ansible.posix.authorized_key - 公開鍵を追加・削除する

Chapter 38

ansible.posix.firewalld - firewalld でポートやサービスを管理する

Chapter 39

ansible.posix.seboolean - SELinux のブール値を切り替える

Chapter 40

ansible.posix.selinux - SELinux のステータスを変更する

Chapter 41

community.crypto.openssh_keypair - 秘密鍵・公開鍵を作成する

Chapter 42

community.general.archive - アーカイブファイルを作成する

Chapter 43

community.general.ufw - UFW でファイアウォールを管理する

Chapter 44

Tip : mode パラメーターに設定する数値

Chapter 45

Tip : モジュールでできることはモジュールで行う

Chapter 46

Case : ユーザーを登録し、公開鍵認証ができるよう設定する

Chapter 47

Case : Nginx をインストールする

Chapter 48

Case : Zabbix をインストールする

Chapter 49

Change Log

Community
Author
y_mrok
Topics
¥0今すぐ読む
公開
本文更新
文章量
944,923
価格
0