Skip to content

Commit

Permalink
Remove the ipv6 conf-ansible settings
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed May 12, 2015
1 parent 41b422d commit 757ae73
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions contextualization/conf-ansible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,14 @@
- name: Install libselinux-python in RH
action: yum pkg=libselinux-python state=installed
when: ansible_os_family == "RedHat"

# Disable IPv6
- lineinfile: dest=/etc/sysctl.conf regexp="{{ item }}" line="{{ item }} = 1"
with_items:
- 'net.ipv6.conf.all.disable_ipv6'
- 'net.ipv6.conf.default.disable_ipv6'
- 'net.ipv6.conf.lo.disable_ipv6'
ignore_errors: yes
- command: sysctl -p
ignore_errors: yes

- name: Apt-get update
apt: update_cache=yes
when: ansible_os_family == "Debian"

- name: EPEL
template: src=utils/templates/epel.repo dest=/etc/yum.repos.d/epel.repo
#template: src=utils/templates/epel.repo dest=/etc/yum.repos.d/epel.repo
template: src=utils/templates/epel-es.repo dest=/etc/yum.repos.d/epel.repo
when: ansible_os_family == "RedHat" and ansible_distribution != "Fedora"

- name: Apt install requirements
Expand Down

0 comments on commit 757ae73

Please sign in to comment.