ansible example v1

pull/63/head
bennojoy 11 years ago
parent 0e244cb8cf
commit b1908ae1cf
  1. 2
      lamp_haproxy/roles/web/templates/index.php.j2

@ -4,7 +4,7 @@
</head>
<body>
</br>
<a href=http://{{ hostvars[ansible_hostname]['ansible_' + iface].ipv4.address }}/index.html>Homepage</a>
<a href=http://{{ hostvars[inventory_hostname]['ansible_' + iface].ipv4.address }}/index.html>Homepage</a>
</br>
<?php
Print "Hello, World! I am configured in Ansible and i am : ";