Skip to content

Use this to run a Control and Test Server to test your Ansible Builds locally

Notifications You must be signed in to change notification settings

crwgregory/ansible-test-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Test Project

This project gives you access to two servers that will let you run ansible commands on a remote server.

Set up

  • Set up the hosts file in /config
  • Set your build paths in docker-compose.yml
  • docker-compose up
  • docker-compose exec -it control_server bash
    • ssh-keygen create an ssh key
    • ssh-copy-id {your computers ip} copy the id to the test server (default password is 'root')
  • cd /root/ansible/ansible-test-project
  • ansible-playbook test.yml

About

Use this to run a Control and Test Server to test your Ansible Builds locally

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published