Skip to content

soksanchhom/infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Test Task Infrastructure

Step in main.yml file

If you doesn't have Ansible in your machine, please install via below command

How to install Ansible

sudo pip install ansible

Install Ansible geerlingguy.docker role

ansible-galaxy install geerlingguy.docker

How To Run Ansible

Before running main.yml, you have set variable value in main.yml or you can skip it

  - port: 8000

Note: Port 80 is already running in server, it won't running if we choose duplicate port.

Then Running command below to run Ansible

ansible-playbook -i hosts main.yml

Test Result on Server

http://51.15.126.60:port/timezones

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published