|
| 1 | +--- |
| 2 | +# yamllint disable rule:line-length |
| 3 | +argument_specs: |
| 4 | + main: |
| 5 | + short_description: "Prometheus fail2ban_exporter" |
| 6 | + description: |
| 7 | + - "Deploy prometheus L(fail2ban exporter,https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter) using ansible" |
| 8 | + author: |
| 9 | + - "Prometheus Community" |
| 10 | + options: |
| 11 | + fail2ban_exporter_version: |
| 12 | + description: "fail2ban_exporter package version. Also accepts latest as parameter." |
| 13 | + default: "0.10.1" |
| 14 | + fail2ban_exporter_skip_install: |
| 15 | + description: "fail2ban_exporter installation tasks gets skipped when set to true." |
| 16 | + type: bool |
| 17 | + default: false |
| 18 | + fail2ban_exporter_binary_local_dir: |
| 19 | + description: |
| 20 | + - "Enables the use of local packages instead of those distributed on gitlab." |
| 21 | + - "The parameter may be set to a directory where the C(fail2ban_exporter) binary is stored on the host where ansible is run." |
| 22 | + - "This overrides the I(fail2ban_exporter_version) parameter" |
| 23 | + fail2ban_exporter_binary_url: |
| 24 | + description: "URL of the fail2ban_exporter binaries .tar.gz file" |
| 25 | + default: "https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/releases/v{{ fail2ban_exporter_version }}/downloads/fail2ban_exporter_{{ fail2ban_exporter_version }}_linux_{{ go_arch }}.tar.gz" |
| 26 | + fail2ban_exporter_checksums_url: |
| 27 | + description: "URL of the fail2ban_exporter checksums file" |
| 28 | + default: "https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/releases/v{{ fail2ban_exporter_version }}/downloads/fail2ban_exporter_{{ fail2ban_exporter_version }}_checksums.txt" |
| 29 | + fail2ban_exporter_web_listen_address: |
| 30 | + description: "Address on which fail2ban exporter will listen" |
| 31 | + default: "0.0.0.0:9191" |
| 32 | + fail2ban_exporter_binary_install_dir: |
| 33 | + description: |
| 34 | + - "I(Advanced)" |
| 35 | + - "Directory to install fail2ban_exporter binary" |
| 36 | + default: "/usr/local/bin" |
| 37 | + fail2ban_exporter_socket: |
| 38 | + description: |
| 39 | + - "Path to the fail2ban server socket" |
| 40 | + default: "/var/run/fail2ban/fail2ban.sock" |
| 41 | + fail2ban_exporter_username: |
| 42 | + description: |
| 43 | + - "I(Advanced)" |
| 44 | + - "Username to use to protect endpoints with basic auth" |
| 45 | + fail2ban_exporter_password: |
| 46 | + description: |
| 47 | + - "I(Advanced)" |
| 48 | + - "Password to use to protect endpoints with basic auth" |
0 commit comments