Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (21 sloc) 512 Bytes
<title>Ansible Application</title>
<a href=http://{{ ansible_default_ipv4.address }}/index.html>Homepage</a>
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>";
You can’t perform that action at this time.