Add hpz440 host configuration and SSH setup for Windows; update Prometheus targets and variables
This commit is contained in:
@@ -10,6 +10,16 @@ game_password: "{{ lookup('env', 'WIN_GAME_PASSWORD') }}"
|
||||
game_default_groups:
|
||||
- Administradores # This is mandatory to install games
|
||||
|
||||
ssh_users:
|
||||
- name: "{{ ansible_user }}"
|
||||
admin: true
|
||||
keys:
|
||||
- "{{ lookup('file', 'keys/ansible_user.pub') }}"
|
||||
- name: calex
|
||||
admin: true
|
||||
keys:
|
||||
- "{{ lookup('file', 'keys/operator.pub') }}"
|
||||
|
||||
grafana_prometheus_sources:
|
||||
- 10.19.4.136
|
||||
windows_exporter_collectors:
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
hostname: hpz440.lab.alexpires.me
|
||||
ansible_user: "{{ lookup('env', 'ANSIBLE_USER') }}"
|
||||
ansible_password: "{{ lookup('env', 'WIN_HPZ440_PASSWORD') }}"
|
||||
ansible_connection: winrm
|
||||
ansible_winrm_transport: basic
|
||||
ansible_winrm_server_cert_validation: ignore
|
||||
|
||||
ssh_users:
|
||||
- name: "{{ ansible_user }}"
|
||||
admin: true
|
||||
keys:
|
||||
- "{{ lookup('file', 'keys/ansible_user.pub') }}"
|
||||
- name: HP
|
||||
admin: true
|
||||
keys:
|
||||
- "{{ lookup('file', 'keys/operator.pub') }}"
|
||||
|
||||
grafana_prometheus_sources:
|
||||
- 10.19.4.136
|
||||
|
||||
windows_exporter_collectors:
|
||||
- cache
|
||||
- cpu
|
||||
- cpu_info
|
||||
- gpu
|
||||
- diskdrive
|
||||
- logical_disk
|
||||
- memory
|
||||
- net
|
||||
- os
|
||||
- process
|
||||
- service
|
||||
- tcp
|
||||
- time
|
||||
- update
|
||||
@@ -89,7 +89,7 @@ fail2ban_jails:
|
||||
logpath: "/var/log/auth.log"
|
||||
maxretry: 5
|
||||
findtime: 600
|
||||
bantime: 3600
|
||||
bantime: -1
|
||||
postfix:
|
||||
enabled: true
|
||||
port: "smtp,ssmtp"
|
||||
|
||||
Reference in New Issue
Block a user