Skip to content

webrunners/docker-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prep

echo $VAULT_PASS > vault_pass.txt  # Get VAULT_PASS
mv .env.example .env  # Edit for not using ssh-agent

using ansible within docker

alias manage='docker-compose run --rm ansible ansible-playbook --vault-password-file vault_pass.txt -i'  # bash
doskey manage='docker-compose run --rm ansible ansible-playbook --vault-password-file vault_pass.txt -i'  # cmd

using ansible locally

alias manage='ansible-playbook --vault-password-file vault_pass.txt -i'  # bash

run

manage env/dev run/provision.yml
manage env/dev run/deploy.yml

About

ansible container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages