bodsch.htpasswd

Rola Ansible: htpasswd

Rola Ansible do zarządzania poświadczeniami przez htpasswd dla serwerów www, takich jak nginx.

Wymagania i Zależności

  • passlib>=1.6

Systemy operacyjne

Testowane na

  • ArchLinux
  • Systemy oparte na Debianie
    • Debian 10 / 11
    • Ubuntu 20.04

Konfiguracja

Domyślna

htpasswd_credentials_path: /etc/nginx

htpasswd_credentials: []

htpasswd_list_users: true

Poświadczenia

Zobacz także testy molekuł

htpasswd_credentials:
  - path: "{{ htpasswd_credentials_path }}/.admin-passwdfile"
    mode: "u=rw,g=r,o-r"
    owner: "www-data"
    users:
    - username: admin
      password: ZRhgqhaAjdbuFXj2PLJTzYy5PrRsStNaeYWd9c3Ze3
    - username: administrator
      password: gp!tk<r+JcDyJhV5!tgzZVUWx233HLVZMJUy<YNVPZ
      state: absent
      crypt_scheme: plaintext

  - path: "{{ htpasswd_credentials_path }}/.monitoring-passwdfile"
    users:
    - username: monitoring
      password: gp!tk<r+JcDyJhV5!tgzZVUWx233HLVZMJUy<YNVPZ
      crypt_scheme: des_crypt

Autor i Licencja

  • Bodo Schulz

Licencja

Apache

WOLNE OPROGRAMOWANIE, TAK!

O projekcie

ansible role for handling htpasswd credentials

Zainstaluj
ansible-galaxy install bodsch.htpasswd
Licencja
Unknown
Pobrania
7.8k
Właściciel
ex-developer (c, c++, php), ex-system administrator / engineer, keep-it-simple, monitoring, automation, system architect