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') ```
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
apt | Loading commit data... | |
apt_repository | Loading commit data... | |
assemble | Loading commit data... | |
async_status | Loading commit data... | |
async_wrapper | Loading commit data... | |
authorized_key | Loading commit data... | |
command | Loading commit data... | |
copy | Loading commit data... | |
debug | Loading commit data... | |
easy_install | Loading commit data... | |
facter | Loading commit data... | |
fail | Loading commit data... | |
fetch | Loading commit data... | |
file | Loading commit data... | |
fireball | Loading commit data... | |
get_url | Loading commit data... | |
git | Loading commit data... | |
group | Loading commit data... | |
hpilo_boot | Loading commit data... | |
hpilo_facts | Loading commit data... | |
ini_file | Loading commit data... | |
lineinfile | Loading commit data... | |
mount | Loading commit data... | |
mysql_db | Loading commit data... | |
mysql_user | Loading commit data... | |
nagios | Loading commit data... | |
ohai | Loading commit data... | |
pause | Loading commit data... | |
ping | Loading commit data... | |
pip | Loading commit data... | |
postgresql_db | Loading commit data... | |
postgresql_user | Loading commit data... | |
raw | Loading commit data... | |
seboolean | Loading commit data... | |
selinux | Loading commit data... | |
service | Loading commit data... | |
setup | Loading commit data... | |
shell | Loading commit data... | |
slurp | Loading commit data... | |
subversion | Loading commit data... | |
supervisorctl | Loading commit data... | |
template | Loading commit data... | |
user | Loading commit data... | |
virt | Loading commit data... | |
vsphere_facts | Loading commit data... | |
wait_for | Loading commit data... | |
yum | Loading commit data... |