Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: skipping: no hosts matched #139

Open
Constey opened this issue Jan 6, 2024 · 0 comments
Open

question: skipping: no hosts matched #139

Constey opened this issue Jan 6, 2024 · 0 comments
Assignees
Labels
Debugging Debugging Cases

Comments

@Constey
Copy link

Constey commented Jan 6, 2024

Describe the bug
I'ts not a bug, but just a question because im unfamiliar with the ansible command. I try to run it on an separate host and getting this message:

root@server:/home/acc/UBUNTU22-CIS$ ansible-playbook site.yml
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does
not match 'all'
[WARNING]: Could not match supplied host pattern, ignoring: server.fqdn.de

PLAY [server.fqdn.de] *********************************************************************************
skipping: no hosts matched

my site.yml looks like:

---

- hosts: server.fqdn.de
  become: true
  roles:

      - role: "{{ playbook_dir }}"


What should I do to run the playbook on an remote host? Thanks in advance :-)

@Constey Constey added the Debugging Debugging Cases label Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Debugging Debugging Cases
Projects
None yet
Development

No branches or pull requests

2 participants