Created
March 1, 2019 20:24
-
-
Save dlangille/d4f3bfcfe70c073fc6bec1048905bb83 to your computer and use it in GitHub Desktop.
Ansible 2.7.0 with warnings about hostnames
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ansible-playbook foo.yml | |
[WARNING]: Unable to parse /usr/local/etc/ansible/hosts as an inventory source | |
[WARNING]: No inventory was parsed, only implicit localhost is available | |
[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: knew.int.unixathome.org | |
PLAY [knew.int.unixathome.org] ***************************************************************************************************************************************************** | |
skipping: no hosts matched | |
PLAY RECAP ************************************************************************************************************************************************************************* | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat foo.yml | |
- hosts: knew.int.unixathome.org | |
roles: | |
- logcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat hosts | |
knew.int.unixathome.org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The answer is here: https://www.freshports.org/sysutils/ansible/