Ansible playbook for docker container. Running MYSQL Docker Container Uisng Ansible Playbook | Ansible Deploy Docker Container Example.
——————————————————————-
Setting up Ansible:
——————————————————————-
——————————————————————–
Installing Docker:
—————————————————————–
—————————————————————
Ansible Playbook Tutorial:
————————————————————-
—————————————————————
Github Location:
https://github.com/shazforiot/MYSQLdockercontainer_Ansibleplaybook.git
———————————————————–
———————————————————–
Follow me @:
https://www.instagram.com/thetips4you
https://www.youtube.com/channel/UCoOq-DtESvayx5yJE5H6-qQ
https://www.facebook.com/thetipsforyou
http://www.thetips4you.com
————————————————————
Music credit: “Royalty Free Music from Bensound”
source
Excellent Tutorial on deploying docker container using Ansible playbook !!. I recommend this to anyone.
you have no idea how may tutorial I had to look thru. all twisted. You really cut thru the fluff and gave me what I needed.Ā I can deploy any docker container using docker-composed which I have done it may many times. but with this Ansible playbook, just run the damn play book and here can have it. I have one question though. in yml you set the "restart: true" is this the same as "restart: always" is that mean upon running the sensible-playbook. that container is going to run in "dettached mode " and will be up and running.
My friend, you are amazing !! I am planning to watch all your Tutorials on your channel.
HI, this is very useful, but can you give your insight about following?
1: how to do this using podman?
2. restore database from source host to db container?
3: setting for backup as well?
thanks for sharing.