7400 adapt:增加ansible执行时传入PROFILE_ID参数

This commit is contained in:
fumingwei
2021-06-17 10:27:55 +08:00
parent fe1c7ff61a
commit b09a8165f3
2 changed files with 2 additions and 2 deletions

View File

@@ -11,4 +11,4 @@ echo "$PROFILE_ID"
echo "[$PROFILE_ID]" > $PROJECTDIR/ansible/install_config/tsg_7400_host
echo "$TARGET_SYSROOT_DIR ansible_connection=chroot" >> $PROJECTDIR/ansible/install_config/tsg_7400_host
ansible-playbook -i $PROJECTDIR/ansible/install_config/tsg_7400_host $PROJECTDIR/ansible/tsg_7400_deploy.yml -e "rpm_repo_config_path=$YUM_CONF_PATH"
ansible-playbook -i $PROJECTDIR/ansible/install_config/tsg_7400_host $PROJECTDIR/ansible/tsg_7400_deploy.yml -e "rpm_repo_config_path=$YUM_CONF_PATH PROFILE_ID=$PROFILE_ID"

View File

@@ -11,4 +11,4 @@ echo "$PROFILE_ID"
echo "[tsg_9140_chroot]" > $PROJECTDIR/ansible/install_config/tsg_9140_host
echo "$TARGET_SYSROOT_DIR ansible_connection=chroot" >> $PROJECTDIR/ansible/install_config/tsg_9140_host
ansible-playbook -i $PROJECTDIR/ansible/install_config/tsg_9140_host $PROJECTDIR/ansible/tsg_9140_deploy.yml -e "rpm_repo_config_path=$YUM_CONF_PATH"
ansible-playbook -i $PROJECTDIR/ansible/install_config/tsg_9140_host $PROJECTDIR/ansible/tsg_9140_deploy.yml -e "rpm_repo_config_path=$YUM_CONF_PATH PROFILE_ID=$PROFILE_ID"