GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Awesomepath/ansible

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 

Repository files navigation

Ansible

Ansible containerization playbook

Usage

**You will likely need to mount required directories into your container to make it run

Basic

docker pull tbola45/ansible:latest
docker run --rm -it tbola45/ansible:latest bash

Mount local directory and ssh key

docker run --rm -t -v $(pwd):/ansible -v ~/.ssh:/root/.ssh tbola45/ansible:latest bash

Parse in env variable, mount local directory and ssh key

docker run --rm -t -v $(pwd):/ansible -v ~/.ssh:/root/.ssh -e ANSIBLE_STDOUT_CALLBACK=debug -e AWS_ACCESS_KEY_ID=<AWS ACCESS KEY> -e AWS_SECRET_ACCESS_KEY=<AWS SECRET ACCESS KEY> -e AWS_DEFAULT_REGION="us-east-1" -e WORKSPACE=/ansible tbola45/ansible:latest bash

Deployment Sample

docker run --rm -t -v $(pwd):/ansible -v ~/.ssh:/root/.ssh -e ANSIBLE_STDOUT_CALLBACK=debug -e AWS_ACCESS_KEY_ID=<AWS ACCESS KEY> -e AWS_SECRET_ACCESS_KEY=<AWS SECRET ACCESS KEY> -e AWS_DEFAULT_REGION="us-east-1" -e WORKSPACE=/ansible tbola45/ansible:latest bash -c 'ansible-playbook playbook.yml -i ec2.py -l "tag_Env_staging:&tag_App_box1" -f 5 -u ec2-user -e env=staging'

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.