buluma.roundcubemail
Ansibleロール roundcubemail
システムにroundcubemailをインストールして設定します。
GitHub | バージョン | 問題 | プルリクエスト | ダウンロード |
---|---|---|---|---|
例のプレイブック
この例は、molecule/default/converge.yml
から引用されており、各プッシュ、プルリクエスト、リリースでテストされています。
---
- name: Converge
hosts: all
become: true
gather_facts: true
vars_files:
../../vars/main.yml
pre_tasks:
- name: aptキャッシュを更新します。
apt: update_cache=yes cache_valid_time=600
when: ansible_os_family == 'Debian'
changed_when: false
roles:
- role: buluma.httpd
httpd_vhosts:
- name: docroot
servername: roundcubemail.example.com
documentroot: "{{ roundcubemail_install_directory }}"
- role: buluma.roundcubemail
システムの準備が必要です。CIでは、molecule/default/prepare.yml
を使用します:
---
- name: Prepare
hosts: all
become: true
gather_facts: false
roles:
- role: buluma.bootstrap
- role: buluma.epel
- role: buluma.buildtools
- role: buluma.python_pip
- role: buluma.openssl
openssl_items:
- name: apache-httpd
common_name: "{{ ansible_fqdn }}"
- role: buluma.selinux
- role: buluma.httpd
- role: buluma.php
php_upload_max_filesize: 5M
php_post_max_size: 6M
php_date_timezone: Europe/Amsterdam
php_extension:
- mcrypt.so
- role: buluma.mysql
mysql_databases:
- name: roundcube
mysql_users:
- name: roundcube
password: roundcube
priv: "roundcube.*:ALL"
これらのロールの使い方についての完全な説明と例も参照してください。
ロール変数
変数のデフォルト値は、defaults/main.yml
に設定されています:
---
# roundcubemailのデフォルトファイル
roundcubemail_database_host: localhost
roundcubemail_database_user: roundcube
roundcubemail_database_password: roundcube
roundcubemail_database_name: roundcube
# サポートを取得するためのURL。
roundcubemail_support_url: "{{ ansible_fqdn }}/support"
# 機密データを暗号化するためのキー。
roundcubemail_des_key: 964af56991531a805bd55085
# 使用するスペルチェッカー。 'google', 'pspell', 'enchant' または 'atd' のいずれか。
roundcubemail_spellcheck_engine: pspell
# ログインを実行するために選ばれたメールホスト。
roundcubemail_default_host: localhost
roundcubemail_default_port: 143
# メール送信のためのSMTPサーバーのホスト。
roundcubemail_smtp_server: localhost
roundcubemail_smtp_port: 25
roundcubemail_smtp_user: ""
roundcubemail_smtp_pass: ""
要件
- requirements.txtにリストされたpipパッケージ。
使用されるロールの状態
システムを準備するために次のロールが使用されます。別の方法でシステムを準備することもできます。
要件 | GitHub | バージョン |
---|---|---|
buluma.bootstrap | ||
buluma.buildtools | ||
buluma.epel | ||
buluma.httpd | ||
buluma.mysql | ||
buluma.ca_certificates | ||
buluma.openssl | ||
buluma.php | ||
buluma.python_pip | ||
buluma.reboot | ||
buluma.selinux |
依存関係
ほとんどのロールは何らかの準備を必要とし、これはmolecule/default/prepare.yml
で行います。このロールは、次のロールに「強い」依存関係があります:
- {'role': 'buluma.httpd'}
コンテキスト
このロールは、多くの互換性のあるロールの一部です。詳細については、これらのロールのドキュメントを参照してください。
関連するロールの概要はこちらです:
互換性
このロールは、次のコンテナイメージでテストされています:
コンテナ | タグ |
---|---|
Debian | すべて |
Fedora | すべて |
Ubuntu | jammy |
Kali | すべて |
Ansibleの必要な最小バージョンは2.12であり、以下のテストが行われました:
- 前のバージョン
- 現在のバージョン
- 開発バージョン
問題が見つかった場合は、GitHubに登録してください。
変更履歴
ライセンス
著者情報
インストール
ansible-galaxy install buluma.roundcubemail
ライセンス
apache-2.0
ダウンロード
7.6k
所有者
DevOps Engineer