diff --git a/README.md b/README.md index 1f5cdf0..8c87ea8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## snmpd -[![Build Status](https://travis-ci.org/Oefenweb/ansible-snmpd.svg?branch=master)](https://travis-ci.org/Oefenweb/ansible-snmpd) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-snmpd-blue.svg)](https://galaxy.ansible.com/tersmitten/snmpd) +[![Build Status](https://travis-ci.org/Oefenweb/ansible-snmpd.svg?branch=master)](https://travis-ci.org/Oefenweb/ansible-snmpd) [![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-snmpd-blue.svg)](https://galaxy.ansible.com/Oefenweb/snmpd) Set up snmp(d) in Debian-like systems. @@ -27,7 +27,7 @@ on **Ubuntu** this package is in **multiverse**. See the *"Recommended"* section * `snmpd_users`: [default: see defaults.yml]: Additional users. **Make sure to change!** * `snmpd_sys_location` [default: `''`]: System location * `snmpd_sys_contact` [default: `Root `]: System contact -* `snmpd_sys_description` [default: `{{ ansible_nodename }}`]: System description +* `snmpd_sys_description` [default: `{{ inventory_hostname }}`]: System description * `snmpd_disks_include_all`: [default: `false`]: Include all disks mounted on the system in the SNMP table * `snmpd_disks_include_all_threshold_minpercent`: [default: `10%`]: Minimum free space specified as a percentage diff --git a/defaults/main.yml b/defaults/main.yml index f0cea04..0cb6b91 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -28,7 +28,7 @@ snmpd_users: snmpd_sys_location: 'Unknown' snmpd_sys_contact: Root -snmpd_sys_description: "{{ ansible_nodename }}" +snmpd_sys_description: "{{ inventory_hostname }}" snmpd_disks_include_all: false snmpd_disks_include_all_threshold: '10%'