Skip to content

Brights-DevOps-2022-Script/hello-world-FelixStr

Repository files navigation

helpful snippets

run docker for local debug

docker run -v "$(pwd):/workspace" -w /workspace -it  cytopia/ansible

and inside the container run

   export "ANSIBLE_KEY=<snowman password>"
   export "ANSIBLE_CONFIG=etc/ansible/ansible.cfg"
   apk add --update --no-cache openssh sshpass
   ansible-playbook -vvv -i hostfile playbook.yml -e ansible_ssh_pass='{{ lookup("env", "ANSIBLE_KEY") }}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •