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

Ansible test command needs target, not env vars #3

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,21 @@ A sample Inventory file is included as ```cfg/INVENTORY-EXAMPLE```, but if you h
After you have done this, you should be able to succesfully execute something like this:

```
ansible -m ping -e cluster_name=k8s_test
ansible k8s_test [-i $INVENTORY_FILE] -m ping
```

And your master and node machines should respond.

Then test that you can operate on each of the child groups independently:

```
ansible -m ping -e cluster_name=k8s_test_master
ansible k8s_test_master [-i $INVENTORY_FILE] -m ping
```

and

```
ansible -m ping -e cluster_name=k8s_test_node
ansible k8s_test_nodes [-i $INVENTORY_FILE] -m ping
```

Don't bother proceeding until all the above work!
Expand Down