Skip to content

Commit

Permalink
Enable EPEL only for main dependency installs
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
  • Loading branch information
stevekuznetsov committed Sep 30, 2017
1 parent 963982f commit b4394cd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion oct/ansible/oct/roles/dependencies/tasks/post_install.yml
Expand Up @@ -8,4 +8,9 @@
sysctl:
name: net.ipv4.tcp_tw_reuse
value: 1
reload: yes
reload: yes

- name: turn off EPEL for the downstream users
package:
name: 'epel-release'
state: absent
Expand Up @@ -55,3 +55,8 @@
- version: '15'
- version: '36'
when: ansible_distribution in ['RedHat', 'CentOS']

- name: turn on EPEL for the main dependency install
package:
name: 'epel-release'
state: present

0 comments on commit b4394cd

Please sign in to comment.