Changes

Jump to navigation Jump to search
put details in collapsed section; link to variable precedence
Variable Scope and Precedence rules: https://docs.ansible.com/ansible/latest/reference_appendices/general_precedence.html
 
== Facts ==
Assuming a hostname of '''wiki.example.net''' is defined in your 'hosts' inventory; using <code>ansible wiki.example.net -m setup</code> you get a lot of information about the host (see https://docs.ansible.com/ansible/playbooks_variables.html#information-discovered-from-systems-facts).
 
{{Collapsible
|visible_text=<code>ansible wiki.example.net -m setup</code>
|collapsed_content=
<source lang="json">
}
</source>
}}
[[Category:Ansible]]
[[Category:DevOps]]

Navigation menu