kso512.install-picocms

Build Status

install-picocms

Eine Ansible Rolle zur Installation von PicoCMS.

PicoCMS ist ein "extrem einfaches und blitzschnelles flaches Datei-CMS".

Anforderungen

Für TLS erstellen Sie ein TLS-Zertifikat und ein Schlüsselpaar und weisen es der Rolle zu.

Rollen-Variablen

Variable Beschreibung Standardwert
install_picocms_version Version von PicoCMS, die installiert werden soll 1.0.5
install_picocms_filename Kurzname des PicoCMS-Quellarchivs pico-release-v{{ install_picocms_version }}.tar.gz
install_picocms_url URL des herunterzuladenden PicoCMS-Quellarchivs https://github.com/picocms/Pico/releases/download/v{{ install_picocms_version }}/{{ install_picocms_filename }}
install_picocms_dest Lokaler Speicherort des PicoCMS-Quellarchivs /root/{{ install_picocms_filename }}
install_picocms_owner Besitzer des lokalen PicoCMS-Quellarchivs root
install_picocms_group Gruppe des lokalen PicoCMS-Quellarchivs {{ install_picocms_owner }}
install_picocms_httpdocs HTTPDOCS-Ordner zum Entpacken /var/www/html
install_picocms_content_src Quellinhalt-Ordner {{ install_picocms_httpdocs }}/content-sample

Abhängigkeiten

PicoCMS benötigt PHP und einen Webserver, um darauf zu laufen.

Ich habe Rollen von geerlingguy gewählt, um das zu ermöglichen:

Überschreibungen

apache_remove_default_vhost: true
apache_global_vhost_settings: |
  DirectoryIndex index.php index.html
apache_vhosts:
  - servername: "{{ ansible_fqdn }}"
    documentroot: "/var/www/html"
    extra_parameters: |
          ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000/var/www/html"
php_enable_php_fpm: true
php_packages_extra:
  - libapache2-mod-fastcgi

Beispiel-Playbook

Komplettes Beispiel:

- hosts: servers
  roles:
     - { role: kso512.install-picocms, apache_remove_default_vhost: true }

Lizenz

BSD

Autoreninformation

Chris Lindbergh

Über das Projekt

A role to install PicoCMS.

Installieren
ansible-galaxy install kso512.install-picocms
GitHub Repository
Lizenz
bsd-2-clause
Downloads
70
Besitzer