Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #86 from jsteel44/ansible
Browse files Browse the repository at this point in the history
Let's assume VMs have a GW configured already
  • Loading branch information
jsteel44 authored Aug 28, 2019
2 parents 3cabe26 + cc9b52d commit 28a2648
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions dac-ansible/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
- hosts: all
become: true
tasks:
- name: configure default gateway
command: route add default gw 10.43.255.1
register: command_result
failed_when: "command_result.rc != 0 and ('SIOCADDRT: File exists' not in command_result.stderr)"
changed_when: "command_result.rc == 0"
- name: Create entries in /etc/hosts for all nodes
lineinfile:
path: /etc/hosts
Expand Down

0 comments on commit 28a2648

Please sign in to comment.