Don't configure sudoers file for test runs.

This commit is contained in:
Jeff Geerling 2016-09-23 18:53:15 -05:00
parent 904d3a7039
commit 8997b82632

View file

@ -24,7 +24,7 @@ install:
# Add a hosts file.
- sudo mkdir -p /etc/ansible
- sudo touch /etc/ansible/hosts
- "echo -e '[local]\nlocalhost ansible_connection=local' | sudo tee -a /etc/ansible/hosts > /dev/null"
- "echo -e '[local]\nlocalhost ansible_connection=local configure_sudoers=false' | sudo tee -a /etc/ansible/hosts > /dev/null"
script:
# Install dependencies.