macklus.os
macklus.os
シンプルなオペレーティングシステムツール
役割変数
macklus:
os:
repository:
install: true
country: 'fr'
packages:
latest:
all: []
debian: []
redhat: []
absent:
all: []
debian: []
redhat: []
reboot: 'always|only_if_necessary'
locales: []
- macklus.os.packages.latest.all: インストールするパッケージの配列
- macklus.os.packages.latest.debian: インストールするパッケージの配列(Debianファミリー専用名)
- macklus.os.packages.latest.redhat: インストールするパッケージの配列(RedHatファミリー専用名)
- macklus.os.packages.absent.all: 削除するパッケージの配列
- macklus.os.packages.absent.debian: 削除するパッケージの配列(Debian専用名)
- macklus.os.packages.absent.redhat: 削除するパッケージの配列(RedHat専用名)
- macklus.os.locales: インストールするロケールの配列
例のプレイブック
役割の使い方の例(パラメーターとして変数を渡す場合など)を含めると、ユーザーにとって助かります:
- hosts: localhost
remote_user: root
roles:
- macklus.os/repository
- macklus.os/packages
- macklus.os/upgrade
- macklus.os/locales
- macklus.os/reboot
ライセンス
GPL-3.0-only
プロジェクトについて
Simple role to manage Operating Systems default operations
インストール
ansible-galaxy install macklus.os
ライセンス
gpl-3.0
ダウンロード
77
所有者
Code and sysadmin lover. Always ready to try and fail, and learn, and dream