Skip to content

Commit

Permalink
Merge pull request #7 from openflighthpc/dev/remove-network-things
Browse files Browse the repository at this point in the history
Better Separation of Platform and Stack
  • Loading branch information
ColonelPanics authored Mar 31, 2020
2 parents 0fbcacc + ec0c204 commit db9a47d
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions roles/upstream/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,6 @@
- name: Gather Installed Services
service_facts:

- name: Get rid of Network Manager
service: name=NetworkManager state=stopped enabled=no
when: "'NetworkManager.service' in services"

- name: Disable firewall
service: name=firewalld state=stopped enabled=no
when: "'firewalld.service' in services"

- name: Set hostname
command: "hostnamectl set-hostname {{ inventory_hostname_short }}.pri.{{ cluster_name }}.cluster.local"

- name: Ensure search domain exists in resolv.conf
lineinfile:
path: /etc/resolv.conf
regexp: "^search (.*?)( pri.{{ cluster_name }}.cluster.local|$)"
line: 'search \1 pri.{{ cluster_name }}.cluster.local'
backrefs: true
state: present

- name: Install EPEL Repo
yum: name=epel-release state=present

Expand Down

0 comments on commit db9a47d

Please sign in to comment.