Difference between revisions of "Hosts: (Ansible)"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
*<code>hosts: [[localhost]]</code> | *<code>hosts: [[localhost]]</code> | ||
− | + | <code>[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'</code> | |
− | + | <code>ERROR! Hosts list cannot be empty - please check your playbook</code> | |
− | + | <code>skipping: no hosts matched</code> | |
Revision as of 18:40, 20 October 2021
hosts: all
hosts: localhost
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
ERROR! Hosts list cannot be empty - please check your playbook
skipping: no hosts matched
Related terms
See also
- Ansible: modules, plugins, Playbooks (examples)
ansible-playbook
,ansible-vault
,ansible-inventory
,ansible-config
, Ansible Tower, Ansible Galaxy (Roles) (ansible-galaxy
),ansible-cmdb
,gather facts
,ansible.cfg
,Ansible Molecule
, Ansible collections,register
,template
,--ask-pass
,--ask-become-pass
,remote_user:
,/etc/ansible/hosts
,ansible-doc
,ansible-lint
,.ansible/
,--forks
,--start-at-task
,changelog
,inventory
,Notify:
,ansible HOSTNAME -m ping
,gathering
,/usr/bin/ansible
,ansible -m ping
,ansible.builtin
,hosts: (Ansible)
,set fact:
,when:
,blockinfile:
,become method:
,include:
,git:
, AWX,ansible --help
, Tags, Ansible variables, versions
Advertising: