<div dir="ltr">I install a bunch of packages too, but I use full RHEL hosts, so it's just a matter of running yum. </div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 4, 2016 at 4:53 PM, Duckworth, Douglas C <span dir="ltr"><<a href="mailto:duckd@tulane.edu" target="_blank">duckd@tulane.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">"All I use it for is to set one NIC up with an IP address, so the engine<br>
can reach it. The rest is done via the engine. I probably should just do<br>
this with DHCP and MAC reservations really"<br>
<br>
</span>Ah thanks. So we can do that with kernel options too. I wasn't sure if<br>
we should even bother with bonds though since the manager will do the rest.<br>
<br>
Thanks for sharing your iscsid.conf. We're using the copy module to<br>
place our modified one on the hypervisor, though your solution might be<br>
more elegant, along with others that modify rsyslog and cron, then<br>
persisting those files:<br>
<br>
- name: unpersist conf files on HV<br>
tags: [conf]<br>
command: "unpersist {{ item.destdir }}/{{ <a href="http://item.name" rel="noreferrer" target="_blank">item.name</a> }}"<br>
with_items: hv_files<br>
<br>
- name: copy conf files to hv<br>
tags: [conf]<br>
copy: src="{{ <a href="http://item.name" rel="noreferrer" target="_blank">item.name</a> }}"<br>
dest="{{ item.destdir }}/{{ <a href="http://item.name" rel="noreferrer" target="_blank">item.name</a> }}"<br>
mode="{{ item.mode }}"<br>
owner=root group=root<br>
with_items: hv_files<br>
<br>
- name: persist conf files on HV<br>
tags: [conf]<br>
command: "persist {{ item.destdir }}/{{ <a href="http://item.name" rel="noreferrer" target="_blank">item.name</a> }}"<br>
with_items: hv_files<br>
notify:<br>
- rsyslog<br>
- crond<br>
<br>
How do people handle installing additional packages [we add htop, vim,<br>
iftop, nethogs, diamond, check_mk] to the hypervisor after deployment?<br>
<br>
After remounting rw we use this task to copy rpms from Apache server:<br>
<br>
- name: install rhel7 packages<br>
command: "rpm -i {{ item.destdir }}/{{ <a href="http://item.name" rel="noreferrer" target="_blank">item.name</a> }}"<br>
with_items: rh7_rpm_files<br>
register: rpm_result<br>
when: ansible_distribution_major_version == "7"<br>
failed_when: "rpm_result.rc == 69"<br>
<span class="im HOEnZb"><br>
--<br>
Thanks<br>
<br>
Douglas Duckworth, MSc, LFCS<br>
Unix Administrator<br>
Tulane University<br>
Technology Services<br>
1555 Poydras Ave<br>
NOLA -- 70112<br>
<br>
E: <a href="mailto:duckd@tulane.edu">duckd@tulane.edu</a><br>
O: <a href="tel:504-988-9341" value="+15049889341">504-988-9341</a><br>
F: <a href="tel:504-988-8505" value="+15049888505">504-988-8505</a><br>
<br>
</span><div class="HOEnZb"><div class="h5">On 03/04/2016 03:41 PM, Dan Yasny wrote:<br>
> All I use it for is to set one NIC up with an IP address, so the engine<br>
> can reach it. The rest is done via the engine. I probably should just do<br>
> this with DHCP and MAC reservations really<br>
</div></div></blockquote></div><br></div>