<commit_before>#!/bin/bash

VIRTHOST=$1
WORKSPACE=$2
RELEASE=newton

if [ ! -d 'tripleo-quickstart' ]; then
    git clone https://git.openstack.org/openstack/tripleo-quickstart
fi
pushd tripleo-quickstart
bash quickstart.sh \
    --config $WORKSPACE/config/general_config/$CONFIG.yml \
    --working-dir $WORKSPACE/ \
    --no-clone \
    --bootstrap \
    --tags teardown-all,untagged,provision,environment,undercloud-scripts,undercloud-install \
    --teardown all \
    --requirements quickstart-extras-requirements.txt \
    --playbook quickstart-extras.yml \
    --release ${CI_ENV:+$CI_ENV/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
    $VIRTHOST
popd

export SSH_CONFIG=$WORKSPACE/ssh.config.ansible
ansible-playbook -vvvv upgrade-play.yaml -i hosts<commit_msg>fix ssh command for ansible<commit_after>#!/bin/bash

VIRTHOST=$1
WORKSPACE=$2
RELEASE=newton

if [ ! -d 'tripleo-quickstart' ]; then
    git clone https://git.openstack.org/openstack/tripleo-quickstart
fi
pushd tripleo-quickstart
bash quickstart.sh \
    --config $WORKSPACE/config/general_config/$CONFIG.yml \
    --working-dir $WORKSPACE/ \
    --no-clone \
    --bootstrap \
    --tags teardown-all,untagged,provision,environment,undercloud-scripts,undercloud-install \
    --teardown all \
    --requirements quickstart-extras-requirements.txt \
    --playbook quickstart-extras.yml \
    --release ${CI_ENV:+$CI_ENV/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
    $VIRTHOST
popd

export SSH_CONFIG=$WORKSPACE/ssh.config.ansible
export ANSIBLE_SSH_ARGS="-F ${SSH_CONFIG}"
ansible-playbook -vvvv upgrade-play.yaml -i hosts
{'fraction_non_alphanumeric': 0.140139505389981, 'fraction_numerical': 0.0025364616360177552, 'mean_word_length': 3.627565982404692, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '634643', 'n_tokens_mistral': 576, 'n_tokens_neox': 559, 'n_words': 88}