<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">hi </div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">check this [0]. I tried to convert it  to ansible playbooks.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small">[0] <a href="https://review.openstack.org/523072">https://review.openstack.org/523072</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 28, 2017 at 2:57 AM, Ravi Shekhar Jethani <span dir="ltr"><<a href="mailto:rsjethani@gmail.com" target="_blank">rsjethani@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
While exploring kolla-ansible I ran into a few issues with<br>
init-runonce script. This lead to following bugs and patches:<br>
<br>
<a href="https://launchpad.net/bugs/1732963" rel="noreferrer" target="_blank">https://launchpad.net/bugs/<wbr>1732963</a><br>
<a href="https://review.openstack.org/522221" rel="noreferrer" target="_blank">https://review.openstack.org/<wbr>522221</a><br>
<a href="https://review.openstack.org/521190" rel="noreferrer" target="_blank">https://review.openstack.org/<wbr>521190</a><br>
<br>
But it was highlighted that instead of fixing/changing the<br>
script, 'ansibilzing' it would be the ideal solution.<br>
Hence I hereby formally propose the same.<br>
<br>
My thoughts:<br>
* Playbook Name: init-stack.yml<br>
<br>
* Playbook path can be:<br>
kolla-ansible/ansible/init-<wbr>stack.yml<br>
<br>
* The play can be executed like:<br>
$ kolla-ansible init-stack -i <inventory_file><br>
<br>
* The cirros test image should be downloaded in /tmp<br>
<br>
* What should be the behavior if the play is run multiple times<br>
against the same stack?<br>
  - some error message OR<br>
  - simply ignore the action<br>
<br>
Kindly provide suggestions.<br>
<br>
--<br>
Best Regards,<br>
Ravi J.<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-size:13px;border-collapse:collapse"><font face="monospace, monospace">Regards,</font></span></div><div><span style="font-size:13px;border-collapse:collapse"><font face="monospace, monospace">Jeffrey Zhang</font></span></div><div><span style="font-family:monospace,monospace;font-size:12.8px">Blog: </span><a href="http://xcodest.me/" style="font-family:monospace,monospace;font-size:12.8px" target="_blank">http://xcodest.me</a><font face="monospace, monospace"><br></font></div></div></div></div></div></div></div></div></div>
</div>