robertdebock.roundcubemail

Rola Ansible roundcubemail

Zainstaluj i skonfiguruj roundcubemail na swoim systemie.

GitHub GitLab Pobrania Wersja
github gitlab downloads Version

Przykładowy playbook

Ten przykład pochodzi z molecule/default/converge.yml i jest testowany przy każdym push-u, pull requeście i wydaniu.

---
- name: Zbieżność
  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

Maszyna musi być przygotowana. W CI jest to robione za pomocą molecule/default/prepare.yml:

---
- name: Przygotowanie
  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"

Zobacz także pełne wyjaśnienie i przykład dotyczące korzystania z tych ról.

Zmienne roli

Domyślne wartości dla zmiennych są ustawione w defaults/main.yml:

---
# domyślny plik dla roundcubemail

roundcubemail_database_host: localhost
roundcubemail_database_user: roundcube
roundcubemail_database_password: roundcube
roundcubemail_database_name: roundcube

# URL do uzyskania wsparcia.
roundcubemail_support_url: "{{ ansible_fqdn }}/support"

# Klucz do szyfrowania danych wrażliwych.
roundcubemail_des_key: 964af56991531a805bd55085

# Narzędzie sprawdzania pisowni do użycia. Opcje: 'google', 'pspell', 'enchant' lub 'atd'.
roundcubemail_spellcheck_engine: pspell

# Host pocztowy wybrany do logowania.
roundcubemail_default_host: localhost
roundcubemail_default_port: 143

# Host serwera SMTP (do wysyłania wiadomości).
roundcubemail_smtp_server: localhost
roundcubemail_smtp_port: 25
roundcubemail_smtp_user: ""
roundcubemail_smtp_pass: ""

Wymagania

Stan używanych ról

Poniższe role są używane do przygotowania systemu. Możesz przygotować swój system w inny sposób.

Wymaganie GitHub GitLab
robertdebock.bootstrap Build Status GitHub Build Status GitLab
robertdebock.buildtools Build Status GitHub Build Status GitLab
robertdebock.epel Build Status GitHub Build Status GitLab
robertdebock.httpd Build Status GitHub Build Status GitLab
robertdebock.mysql Build Status GitHub Build Status GitLab
robertdebock.openssl Build Status GitHub Build Status GitLab
robertdebock.php Build Status GitHub Build Status GitLab
robertdebock.python_pip Build Status GitHub Build Status GitLab
robertdebock.reboot Build Status GitHub Build Status GitLab
robertdebock.selinux Build Status GitHub Build Status GitLab

Kontekst

Ta rola jest częścią wielu kompatybilnych ról. Zapoznaj się z dokumentacją tych ról w celu uzyskania dalszych informacji.

Oto przegląd związanych ról: zależności

Kompatybilność

Ta rola była testowana na tych obrazach kontenerów:

kontener tagi
Debian wszystkie
Fedora wszystkie
Ubuntu wszystkie

Minimalna wymagana wersja Ansible to 2.12, testy były przeprowadzane na:

  • Poprzedniej wersji.
  • Bieżącej wersji.
  • Wersji rozwojowej.

Jeśli napotkasz problemy, zgłoś je na GitHubie.

Licencja

Apache-2.0.

Informacje o autorze

robertdebock

Proszę rozważ wsparcie mnie.

O projekcie

Install and configure roundcubemail on your system.

Zainstaluj
ansible-galaxy install robertdebock.roundcubemail
Licencja
apache-2.0
Pobrania
464
Właściciel
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.