dgibbs64.landscape_client

landscape_client

Ansible ロールで、Ubuntu に Canonical Landscape Client を設定します。

Landscape

Codacy grade GitHub Workflow Status GitHub tag (latest by date) MIT License

概要

Landscape は、Canonical が提供する Ubuntu 向けの管理および管理ツールです。このロールは、Ubuntu に Landscape クライアントを設定し、Landscape SaaS アカウントまたはセルフホスト型 Landscape サーバーにリンクします。

要件

Landscape SaaS アカウントまたはセルフホスト型 Landscape サーバー。

ロール変数

---
# ansible-role-landscape_client のデフォルトファイル

# Landscape サーバー
landscape_client_server: "{{ groups['landscape_server'][0] }}"

# セルフホスト型 Landscape サーバー
landscape_client_server_self_hosted: false

# Landscape アカウント名
landscape_client_account_name: account-name

# Landscape クライアントコンピュータのタイトル
landscape_client_computer_title: "コンピュータのタイトル"

# Landscape クライアントのアクセスグループ
landscape_client_access_group: "アクセスグループ"

# Landscape クライアントのタグ
landscape_client_tags: "tag1, tag2"

## セルフホスト型のみ
# クライアントで使用するサーバー証明書
landscape_client_ssl_cert: "/etc/landscape/server.pem"
## プライマリアプリサーバーの SSL 公開鍵のディレクトリ。
landscape_client_server_ssl_cert: "/etc/ssl/certs/ssl-cert-snakeoil.pem"

# Landscape サーバーの URL
landscape_client_server_ping_url: "http://landscape.canonical.com/ping"
landscape_client_server_url: "https://landscape.canonical.com/message-system"

# Landscape クライアントデータパス
landscape_client_data_path: "/var/lib/landscape/client"

# Landscape クライアントのログレベル: debug, info, warning, error または critical
landscape_client_log_level: "info"

# Landscape クライアントの登録を強制
landscape_client_force_register: false

# Landscape スクリプトの実行を有効にする
landscape_client_enable_script_users: false

# Landscape スクリプトを実行できるユーザー
landscape_client_script_users: root

依存関係

なし

例 Playbook

Landscape SaaS

---
- name: "Landscape クライアントの設定"
  hosts: all
  vars:
    landscape_client_account_name: landscape-account-name
    landscape_client_computer_title: "コンピュータのタイトル"
    landscape_client_access_group: "アクセスグループ"
    landscape_client_tags: "web, db, apache"
  roles:
    - role: dgibbs64.landscape_client

セルフホスト型

---
- name: "Landscape クライアントの設定"
  hosts: all
  vars:
    landscape_client_server: "{{ groups['landscape_server'][0] }}"
    landscape_client_account_name: landscape-account-name
    landscape_client_computer_title: "コンピュータのタイトル"
    landscape_client_access_group: "アクセスグループ"
    landscape_client_tags: "web, db, apache"
    landscape_client_server_ping_url: "http://landscape.example.com/ping"
    landscape_client_server_url: "https://landscape.example.com/message-system"
  roles:
    - role: dgibbs64.landscape_client

ライセンス

MIT

著者情報

更新者: ダニエル・ギブス

元の著者: ラリー・スミス・ジュニア

プロジェクトについて

Canonical Landscape Client for Ubuntu.

インストール
ansible-galaxy install dgibbs64.landscape_client
ライセンス
mit
ダウンロード
1.5k
所有者
🎮 Developer of LinuxGSM. 💻 Platform Engineer.⚓️ Ex Royal Navy Engineer