From b0e3bc96ddb3828b817862d9a4575c4bf2304414 Mon Sep 17 00:00:00 2001 From: GitStorm Date: Thu, 13 Dec 2018 11:52:56 +0100 Subject: [PATCH] tower-cli config: host value needs to be URL Since the key name "host" is slightly misleading, it would help to point out in this documentation, that in fact an URL is required for that key/value pair "host" in the tower-cli config. Failing to do so drops the follwing error: Error: There was a network error of some kind trying to connect to Tower. The most common reason for this is a settings issue; is your "host" value in `tower-cli config` correct? --- DATA_MIGRATION.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DATA_MIGRATION.md b/DATA_MIGRATION.md index 85d8422a93..8e46cf6906 100644 --- a/DATA_MIGRATION.md +++ b/DATA_MIGRATION.md @@ -18,7 +18,7 @@ $ pip install --upgrade ansible-tower-cli The AWX host URL, user, and password must be set for the AWX instance to be exported: ``` -$ tower-cli config host +$ tower-cli config host http:// $ tower-cli config username $ tower-cli config password ``` @@ -62,7 +62,7 @@ For other install methods, refer to the [Install.md](https://github.com/ansible/ Configure tower-cli for your new AWX host as shown earlier. Import from a JSON file named assets.json ``` -$ tower-cli config host +$ tower-cli config host http:// $ tower-cli config username $ tower-cli config password $ tower-cli send assets.json