From 84fa9dcaee6ca189ddaa9f8769b9d65b3797ac69 Mon Sep 17 00:00:00 2001 From: Timothy Appnel Date: Thu, 12 Jul 2012 13:30:30 -0400 Subject: [PATCH] The default private key file was getting set incorrectly from environment variables. My bad. --- lib/ansible/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/constants.py b/lib/ansible/constants.py index 7b00d8060dc..fc442d26264 100644 --- a/lib/ansible/constants.py +++ b/lib/ansible/constants.py @@ -34,7 +34,7 @@ DEFAULT_TIMEOUT = os.environ.get('ANSIBLE_TIMEOUT',10) DEFAULT_POLL_INTERVAL = os.environ.get('ANSIBLE_POLL_INTERVAL',15) DEFAULT_REMOTE_USER = os.environ.get('ANSIBLE_REMOTE_USER','root') DEFAULT_REMOTE_PASS = None -DEFAULT_PRIVATE_KEY_FILE = os.environ.get('ANSIBLE_REMOTE_USER',None) +DEFAULT_PRIVATE_KEY_FILE = os.environ.get('ANSIBLE_PRIVATE_KEY_FILE',None) DEFAULT_SUDO_PASS = None DEFAULT_SUDO_USER = os.environ.get('ANSIBLE_SUDO_USER','root') DEFAULT_REMOTE_PORT = 22