Skip to content

deivis163/Cherry-Ansible-Haproxy-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cherry-Ansible-Firewalled-Haproxy-Example

Requirements:

  • Ansible

  • SSH key (without passphrase)

Directions

export ANSIBLE_HOST_KEY_CHECKING=False

  • Edit main.yml and enter your project ID.

  • Run ansible playbook with command : ansible-playbook main.yml

Results

  • Once all tasks done, open main server IP address in web browser and refresh page few times, it should balance connections between web1 and web2 servers. Firewall do not allow to access web1 and web2 websites dirrectly, so only main server can access web1 and web2 apache server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages