-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/docker friendly #176
base: master
Are you sure you want to change the base?
Fix/docker friendly #176
Conversation
I see that it is not comprehensive but an incredible first shot at this. Glanced over the changes - need to examine in more detail. For example, I am not clear on the call to /lmi to determine Docker status. |
Hi Ram, I gess you're talking about the call in first_steps role. For the handlers, I just read the facts and it's fine. I let you have a closer look and you might feel it as comprehensive as I felt the first_steps role at first analyse :) |
This is good - I just need to get the time to test it before I can merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can the base first_steps be updated as well ?
maybe add the default_password under the defaults folder ?
Otherwise I like the handler changes.
@ram-ibm any idea on how to implement the docker snapshot publish (PUT /core/docker/publish) and run it instead of the commit handler ? |
in theory adding a new handler
with the when condition for the docker model should work However I am trying this using a custom role with no luck yet |
@Scoi4101 👍 thanks for the snip, unfortunately it won't be enough, the handler has to be notified from the other roles. with your help I fixed this issue for the "Commit Changes" handler by including a dedicated tasks file with the conditionals (last commit) |
Nice !!! Can we add the same thing for the Restart Reverse Proxy and Restart Runtime Handler ? |
not tested
removing the item listening and simply use a item instead
https://docs.ansible.com/ansible/2.3/playbooks_intro.html
My idea was to use the listen option and then either run the appliance specific command or write out a message if it is not applicable and it is Docker. |
…ate_requests' into HEAD
Conflicts: first_steps/tasks/main.yml
Fixes for making these roles friendly with ISAM docker deployement
REF: #175