Commit graph

7 commits

Author SHA1 Message Date
Dag Wieers
79d083e80a Sigh, another retypo problem 2012-10-09 12:30:00 +02:00
Michael DeHaan
a70db4fb0b Merge pull request #1250 from dagwieers/hpilo_boot-fixes
Various small fixes to boolean usage and defaults
2012-10-08 14:27:20 -07:00
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')
```
2012-10-08 15:13:17 +02:00
Dag Wieers
dc11b1223d Various small fixes to boolean usage, using module.params.get and default values 2012-10-08 15:07:02 +02:00
Dag Wieers
da026eac76 Fix typo/cosmetic change 2012-10-07 22:12:00 +02:00
Jan-Piet Mens
bd8b42381c fix examples in hpilo_facts DOCUMENTATION 2012-10-05 15:07:45 +02:00
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.
2012-10-04 21:50:34 +02:00