robertdebock.roundcubemail
Ansibleロール roundcubemail
システムにroundcubemailをインストールして設定します。
GitHub | GitLab | ダウンロード | バージョン |
---|---|---|---|
サンプルプレイブック
このサンプルはmolecule/default/converge.yml
から取られており、各プッシュ、プルリクエスト、リリースでテストされています。
---
- name: Converge
hosts: all
become: true
gather_facts: true
vars_files:
../../vars/main.yml
roles:
- role: robertdebock.httpd
httpd_vhosts:
- name: docroot
servername: localhost
documentroot: "{{ roundcubemail_install_directory }}"
- role: robertdebock.roundcubemail
マシンの準備が必要です。CIではmolecule/default/prepare.yml
を使って行います:
---
- name: Prepare
hosts: all
become: true
gather_facts: false
roles:
- role: robertdebock.bootstrap
- role: robertdebock.epel
- role: robertdebock.buildtools
- role: robertdebock.python_pip
- role: robertdebock.openssl
openssl_items:
- name: apache-httpd
common_name: "{{ ansible_fqdn }}"
- role: robertdebock.selinux
- role: robertdebock.httpd
- role: robertdebock.php
php_upload_max_filesize: 5M
php_post_max_size: 6M
php_date_timezone: Europe/Amsterdam
php_extension:
- mcrypt.so
- role: robertdebock.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パッケージ。
使用されるロールの状態
次のロールはシステムの準備に使用されます。別の方法でシステムを準備することもできます。
コンテキスト
このロールは多くの互換性のあるロールの一部です。これらのロールに関するドキュメントを参照してください。
関連するロールの概要は以下の通りです:
互換性
このロールは以下のコンテナイメージでテストされています:
コンテナ | タグ |
---|---|
Debian | すべて |
Fedora | すべて |
Ubuntu | すべて |
必要なAnsibleの最小バージョンは2.12であり、以下でテストが行われました:
- 前のバージョン
- 現在のバージョン
- 開発バージョン
問題が見つかった場合は、GitHubで報告してください。
ライセンス
著者情報
インストール
ansible-galaxy install robertdebock.roundcubemail
ライセンス
apache-2.0
ダウンロード
464
所有者
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.