Disable yum fastestmirror plugin
The fastestmirror plugin can cause delays during yum operations when it checks for the fastest available mirror. In addition, the script sometimes chooses mirrors that are quite slow. Change-Id: I8acd9f92f4b792877bd4396a15d963bd3c1ad6be
This commit is contained in:
parent
86c83d08d0
commit
956dfbaf72
|
@ -13,6 +13,16 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
- name: Disable yum fastestmirror plugin
|
||||||
|
lineinfile:
|
||||||
|
dest: /etc/yum/pluginconf.d/fastestmirror.conf
|
||||||
|
regexp: '^enabled='
|
||||||
|
line: 'enabled=0'
|
||||||
|
state: present
|
||||||
|
tags:
|
||||||
|
- openstack-yum-packages
|
||||||
|
- openstack-packages
|
||||||
|
|
||||||
- name: Ensure epel-release is installed prior to installing host packages
|
- name: Ensure epel-release is installed prior to installing host packages
|
||||||
yum:
|
yum:
|
||||||
pkg: epel-release
|
pkg: epel-release
|
||||||
|
|
Loading…
Reference in New Issue