Create tripleo-admin user on deployed servers

This user is necessary for automated admin access (e.g. Ansible) to
the overcloud nodes.

Change-Id: I2b67e578c8d718a53cfeeee2b5d391233efae05e
Depends-On: Ie486b918c100c8cccdc57c74e35e09a9a213787e
Depends-On: I2de698b4aae07f74569243a9e7c1c56eb578e700
Related-Bug #1708180
This commit is contained in:
Jiri Stransky 2017-08-03 15:07:35 +02:00 committed by Emilien Macchi
parent 1cd926df29
commit 0941ec4652
2 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@
http_proxy: "{{ lookup('env', 'http_proxy') }}"
no_proxy: "{{ lookup('env', 'no_proxy') }}"
TRIPLEO_ROOT: "{{ lookup('env','TRIPLEO_ROOT') }}"
OVERCLOUD_HOSTS: "{{ lookup('env','OVERCLOUD_HOSTS') }}"
CONTROLLER_HOSTS: "{{ lookup('env','CONTROLLER_HOSTS') }}"
COMPUTE_HOSTS: "{{ lookup('env', 'COMPUTE_HOSTS') }}"
BLOCKSTORAGE_HOSTS: "{{ lookup('env', 'BLOCKSTORAGE_HOSTS') }}"

View File

@ -3,3 +3,5 @@
source ${HOME}/stackrc
/usr/share/openstack-tripleo-heat-templates/deployed-server/scripts/get-occ-config.sh 2>&1 | sudo dd of=/var/log/deployed-server-os-collect-config.log
/usr/share/openstack-tripleo-heat-templates/deployed-server/scripts/enable-ssh-admin.sh 2>&1 | sudo dd of=/var/log/deployed-server-enable-ssh-admin.log