sters.onstatic
ansible-role-onstatic
Installe sters/onstatic sur des serveurs RedHat/CentOS.
Comment ça fonctionne
+- main.yml
+- Appel de install_onstatic.yml
+- Ce fichier yaml vérifie si onstatic est installé.
+- Si ce n'est pas le cas, installe la dernière version d'onstatic depuis les publications Github.
+- Installation dans systemd
+- Appel de register_repositories.yml
+- Ce fichier yaml appelle l'API `register` pour onstatic.
+- Avec la variable de rôle onstatic_register_repositories.
Variables de rôle
| clé | valeur par défaut | note |
|---|---|---|
| onstatic_dirpath | /var/www/onstatic | chemin d'installation d'onstatic |
| onstatic_backend_port | 18888 | port d'écoute d'onstatic |
| onstatic_salt | onstatic | sel pour calculer le nom |
| onstatic_http_header_key | onstatic | attend X-ONSTATIC-KEY |
| onstatic_register_repositories | [] | pré-enregistrer les dépôts |
| onstatic_force_install | false | forcer l'installation du binaire onstatic |
