Difference between revisions of "Provided hosts list is empty"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
  [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
 
  [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
 +
 +
 +
Solution:
 +
Add to <code>[[/etc/ansible/ansible.cfg]]</code>
 +
    localhost_warning = false
 +
 +
https://docs.ansible.com/ansible/latest/reference_appendices/config.html#localhost-warning
  
  
 
== See also ==
 
== See also ==
 +
* {{ansible.cfg}}
 
* {{Ansible}}
 
* {{Ansible}}
  
 
[[Category:Ansible]]
 
[[Category:Ansible]]

Latest revision as of 13:04, 5 September 2022

Advertising: