mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-17 09:04:20 +01:00
Disable EPEL repo in kitchen CI
The EPEL repo referencing download.fedoraproject.org is frequently timing out on yum install operations. Disable the EPEL and puppetlabs repo with kitchen during CI builds.
This commit is contained in:
@@ -55,6 +55,7 @@ platforms:
|
||||
- sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
|
||||
- sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config
|
||||
- sed -ri 's/^#?UsePAM .*/UsePAM no/' /etc/ssh/sshd_config
|
||||
- rm /etc/yum.repos.d/epel*repo /etc/yum.repos.d/puppetlabs-pc1.repo
|
||||
- yum -y install initscripts
|
||||
- yum clean all
|
||||
run_command: "/usr/sbin/init"
|
||||
@@ -136,4 +137,4 @@ suites:
|
||||
run_list:
|
||||
attributes:
|
||||
provisioner:
|
||||
playbook: test/integration/xpack.yml
|
||||
playbook: test/integration/xpack.yml
|
||||
|
||||
Reference in New Issue
Block a user