Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Disable IPv6 to reduce Ansible hangs
Browse files Browse the repository at this point in the history
Signed-off-by: Major Hayden <major@redhat.com>
  • Loading branch information
major committed May 6, 2020
1 parent e158038 commit e273dd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jenkins/run_tests.sh
Expand Up @@ -8,6 +8,9 @@ sudo dnf -y install ansible
sudo mkdir -vp /opt/ansible_{local,remote}
sudo chmod -R 777 /opt/ansible_{local,remote}

# Disable IPv6 to avoid issues in PSI OpenStack.
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1

# Run deployment.
echo -e "[test_instances]\nlocalhost ansible_connection=local" > hosts.ini
ansible-playbook -i hosts.ini ${EXTRA_VARS:-} playbook.yml

0 comments on commit e273dd7

Please sign in to comment.