Skip to content

Commit

Permalink
Use eth1 instead eth0
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Jan 9, 2017
1 parent 911d2f7 commit e8ceec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
dbpass: 'heCrE7*d2KEs'
dbhost: localhost
path: /var/www
url: "http://{{ ansible_default_ipv4['address'] }}"
url: "http://{{ hostvars[inventory_hostname]['ansible_' + (ansible_interfaces | difference(['lo']) | sort | list | last)]['ipv4']['address'] }}"
title: wordpress
admin_name: admin
admin_email: root@localhost.localdomain
Expand Down

0 comments on commit e8ceec6

Please sign in to comment.