Commit Graph

7 Commits (3e851f5337ffb1d28e4af0bf0fbe6a2eaea51dbb)

Author SHA1 Message Date
Dag Wieers 79d083e80a Sigh, another retypo problem 12 years ago
Michael DeHaan a70db4fb0b Merge pull request #1250 from dagwieers/hpilo_boot-fixes
Various small fixes to boolean usage and defaults
12 years ago
Dag Wieers d1f9644be3 Add this module's namespace to the 'module_' namespace.
Much like we currently have *setup* register the variable `module_setup`, we would like other facts-modules register their own namespace. This means that:

 - *network_facts* registers `module_network`
 - *hpilo_facts* registers `module_hw`
 - *vsphere_facts* registers `module_hw`

In retrospect, it would have made more sense to have `setup` register `module_ansible` instead as the setup module uses the `ansible_` namesepace.

Having the `module_` namespace allows us to check whether a certain namespace has already been loaded so we can avoid running the facts module a second time using only_if.

```yaml
 - action: network_facts host=${ansible_hostname_short}
   only_if: is_unset('$module_network')
```
12 years ago
Dag Wieers dc11b1223d Various small fixes to boolean usage, using module.params.get and default values 12 years ago
Dag Wieers da026eac76 Fix typo/cosmetic change 12 years ago
Jan-Piet Mens bd8b42381c fix examples in hpilo_facts DOCUMENTATION 12 years ago
Dag Wieers 4dc37fe679 Module hpilo_facts to add facts from HP iLO interfaces
This module gathers facts from the hardware interface by querying HP iLO. The facts include network info (vlan, macaddress) and system info (cpu, memory, uuid) information. Useful information for provisioning and management.

This module was previously named ilo_facts and mentioned in #1080, #1085, #1125 and #1217.
12 years ago