Write an Ansible playbook that:
1.) Runs on localhost which is a CentOS 7 VM.
2.) Takes two arguments: str1, str2.
3.) Installs and starts Docker.
4.) Builds a Docker image that contains a python application that:
a.) Takes two strings as input arguments and prints to stdout("True"
or "False") as to whether they are anagrams.
5.) Runs an instance of Docker image providing str1 and str2 as
arguments. The container should exit after printing "True" or "False".
The command 'docker logs' will be used to determine the output of each
execution of 'docker run'.
a.) As a bonus, add this logic to the playbook.
6.) If the playbook is executed multiple times, it should skip the
install of Docker and build of the Docker images if already complete.
Return a zip file containing all necessary files to execute the above.
Also include directions on how to setup/run the Ansible playbook.
Bu iş için 14 freelancer ortalamada $279 teklif veriyor
Hi, I have desired knowledge on Ansible and docker both, I will create required playbook for you. Do you want all this to be done on local machine (where playbook is run) or on a remote machine
I can set this up for you. I can help setting this up in your local. Reach out to get started.
Hi I've read your case and I can help you create playbooks that consists of: - install docker - build docker image (python apps) - run recently built docker image - idempotency (if the image already there, won't repe Daha Fazla
Hello Dear...! Alert: I will give you 20% discount on my bid rate also give on my All Services. So grabs this special offer is limited. Let’s get to the point. I came to know that your Looking a developer which hav Daha Fazla