Move username and password into the data model
Change-Id: Iab1d4dd3acdc6b08c81a256b146e9652c9b75481
(cherry picked from commit d1bfbd87e1d4a6f673d29391cec5bc4e7da6757e)
diff --git a/xos/synchronizer/steps/roles/ts_config/tasks/main.yaml b/xos/synchronizer/steps/roles/ts_config/tasks/main.yaml
index 4374fe9..776e6a5 100644
--- a/xos/synchronizer/steps/roles/ts_config/tasks/main.yaml
+++ b/xos/synchronizer/steps/roles/ts_config/tasks/main.yaml
@@ -13,10 +13,9 @@
# limitations under the License.
---
-# Should be in the data model, not hardcoded here...
- name: Set SSH password
set_fact:
- ansible_ssh_pass: cfguser
+ ansible_ssh_pass: "{{ password }}"
- name: check flat_network interface
shell: ifconfig | grep -B1 "inet addr:{{ ts_ip }}" | awk '$1!="inet" && $1!="--" {print $1}'