You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
323 B
16 lines
323 B
<html>
|
|
<head>
|
|
<title>Ansible Application</title>
|
|
</head>
|
|
<body>
|
|
</br>
|
|
<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 : ";
|
|
echo exec('hostname');
|
|
Print "</BR>";
|
|
?>
|
|
</body>
|
|
</html>
|
|
|
|
|