Skip to content

Tweak ansible-playbook call to get around Ansible: no hosts matched#91

Open
JasPanesar wants to merge 1 commit intoDigitalState:masterfrom
JasPanesar:patch-1
Open

Tweak ansible-playbook call to get around Ansible: no hosts matched#91
JasPanesar wants to merge 1 commit intoDigitalState:masterfrom
JasPanesar:patch-1

Conversation

@JasPanesar
Copy link

Without this change, the tasks in the ansible-playbook would not run.

In trying to get the development environment up and running, executing the existing ansible-playbook command referred to an issue described here: https://stackoverflow.com/questions/38203317/ansible-no-hosts-matched

I am not sure if this is the best, or correct solution, but adding an -i inventory.yml included the already existing inventory file explicitly in the ansible-playbook call and most of the installation seemed to work.

Without this change, the tasks in the ansible-playbook would not run.

In trying to get the development environment up and running, executing the existing ansible-playbook command referred to an issue described here: https://stackoverflow.com/questions/38203317/ansible-no-hosts-matched

I am not sure if this is the best, or correct solution, but adding an -i inventory.yml included the already existing inventory file explicitly in the ansible-playbook call and most of the installation seemed to work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant