mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
b39aed8736
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 | |
---|---|---|
.. | ||
apt | 12 years ago | |
apt_repository | 12 years ago | |
assemble | 12 years ago | |
async_status | 12 years ago | |
async_wrapper | 12 years ago | |
authorized_key | 12 years ago | |
command | 12 years ago | |
copy | 12 years ago | |
debug | 12 years ago | |
easy_install | 12 years ago | |
facter | 12 years ago | |
fail | 12 years ago | |
fetch | 12 years ago | |
file | 12 years ago | |
fireball | 12 years ago | |
get_url | 12 years ago | |
git | 12 years ago | |
group | 12 years ago | |
hpilo_boot | 12 years ago | |
hpilo_facts | 12 years ago | |
ini_file | 12 years ago | |
lineinfile | 12 years ago | |
mount | 12 years ago | |
mysql_db | 12 years ago | |
mysql_user | 12 years ago | |
nagios | 12 years ago | |
ohai | 12 years ago | |
pause | 12 years ago | |
ping | 12 years ago | |
pip | 12 years ago | |
postgresql_db | 12 years ago | |
postgresql_user | 12 years ago | |
raw | 12 years ago | |
seboolean | 12 years ago | |
selinux | 12 years ago | |
service | 12 years ago | |
setup | 12 years ago | |
shell | 12 years ago | |
slurp | 12 years ago | |
subversion | 12 years ago | |
supervisorctl | 12 years ago | |
template | 12 years ago | |
user | 12 years ago | |
virt | 12 years ago | |
vsphere_facts | 12 years ago | |
wait_for | 12 years ago | |
yum | 12 years ago |