Browse Source

remove useless and annoying checks

master
Nicolas Massé 8 years ago
parent
commit
b99ceab37b
  1. 6
      roles/base/tasks/main.yml
  2. 7
      roles/openshift-prereq/tasks/main.yml

6
roles/base/tasks/main.yml

@ -1,10 +1,4 @@
--- ---
- name: This module has only been tested on RHEL 7.3 x64
assert:
that:
- "ansible_userspace_bits == '64'"
- "ansible_os_family == 'RedHat'"
- "ansible_distribution_version == '7.3'"
- name: Tell SSHD not to use DNS - name: Tell SSHD not to use DNS
lineinfile: dest=/etc/ssh/sshd_config regexp="^#* *UseDNS +" line="UseDNS no" lineinfile: dest=/etc/ssh/sshd_config regexp="^#* *UseDNS +" line="UseDNS no"

7
roles/openshift-prereq/tasks/main.yml

@ -1,12 +1,5 @@
--- ---
- name: This module has only been tested on RHEL 7.3 x64
assert:
that:
- "ansible_userspace_bits == '64'"
- "ansible_os_family == 'RedHat'"
- "ansible_distribution_version == '7.3'"
- name: Install iptables-services - name: Install iptables-services
yum: name=iptables-services state=installed yum: name=iptables-services state=installed
tags: rpm tags: rpm

Loading…
Cancel
Save