Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (21 sloc) 512 Bytes
<html>
<head>
<title>Ansible Application</title>
</head>
<body>
</br>
<a href=http://{{ ansible_default_ipv4.address }}/index.html>Homepage</a>
</br>
<?php
Print "Hello, World! I am a web server configured using Ansible and I am : ";
echo exec('hostname');
Print "</BR>";
Print "My ip address imported from foreman facts is : ";
echo "'{{ foreman_facts.ipaddress }}'";
Print "</BR>";
Print "My username from survey is : ";
echo "'{{ survey_username }}'";
Print "</BR>";
?>
</body>
</html>
You can’t perform that action at this time.