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:
Major Hayden 2017-02-02 21:43:04 -06:00
parent 86c83d08d0
commit 956dfbaf72
1 changed files with 10 additions and 0 deletions

View File

@ -13,6 +13,16 @@
# See the License for the specific language governing permissions and
# 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
yum:
pkg: epel-release