hjwp / Book-TDD-Web-Dev-Python

Book - TDD web dev with Python
https://www.obeythetestinggoat.com
Other
484 stars 175 forks source link

Chapter 11, container exec before container started #256

Closed mshob23 closed 2 weeks ago

mshob23 commented 3 months ago

At the end of chapter 11, I believe there is an issue where the container attempts to execute a function before the container starts up. If the container is already running, the playbook succeeds, but if the container isn't running before the ansible playbook runs, the playbook fails. This can be mitigated by switching the order of the two commands. image