Skip to content

starnowski/docker-fun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

docker-fun

Bash script which use ansible to parallel execution of specified command on localhost for specified array of items

Tests

Ansible custom filters

'greetings_statement.py'

'host_location_statement.py'

Useful links

https://github.com/ansible/ansible-examples

https://www.mulesoft.com/tcat/tomcat-clustering

#ansible, spaces in command line variables - issue https://stackoverflow.com/questions/32584112/ansible-spaces-in-command-line-variables

#Restapi mock server http://www.mock-server.com/#what-is-mockserver

How to check if a shell is login/interactive/batch https://unix.stackexchange.com/questions/26676/how-to-check-if-a-shell-is-login-interactive-batch https://www.linuxquestions.org/questions/programming-9/how-to-check-in-a-script-whether-the-shell-is-login-or-non-login-360629/

To check if you are in an interactive shell:

[[ $- == i ]] && echo 'Interactive' || echo 'Not interactive'

To check if you are in a login shell:

shopt -q login_shell && echo 'Login shell' || echo 'Not login shell'

#Redirection and streams operation in Bash https://wiki.bash-hackers.org/howto/redirection_tutorial

#Ansible filters: https://www.dasblinkenlichten.com/creating-ansible-filter-plugins/ https://docs.ansible.com/ansible/latest/dev_guide/developing_plugins.html https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/filter/json_query.py

#Ansible developer code formating https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_documenting.html#module-documenting

Best practices for writing Dockerfiles

https://docs.docker.com/develop/develop-images/dockerfile_best-practices/

https://www.cyberciti.biz/faq/linux-unix-ssh-proxycommand-passing-through-one-host-gateway-server/

https://www.geeksforgeeks.org/expect-command-in-linux-with-examples/ https://linux.die.net/man/1/expect https://srvfail.com/how-to-provide-ssh-password-inside-a-script-or-oneliner/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published