5 name: net.ipv4.ip_forward
25 xml: '{{ lookup("template", "virsh_network_default.xml.j2") }}'
29 bridge: 'br-{{ item }}'
31 with_items: '{{ virsh_enabled_networks }}'
35 xml: '{{ lookup("template", "virsh_network_ovs.xml.j2") }}'
37 with_items: '{{ virsh_enabled_networks }}'
41 with_items: '{{ virsh_enabled_networks }}'
47 xml: '{{ lookup("template", "virsh_pool.xml.j2") }}'
49 path: /etc/modprobe.d/kvm_intel.conf
50 line: 'options kvm-intel nested=1'
52 when: ansible_architecture == "x86_64"
59 when: ansible_architecture == "x86_64"
60 - name: Generate SSH key for root if missing
61 shell: test -e ~/.ssh/id_rsa || ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa
62 - name: Check that /u/l/python3.4/site-packages/virtualbmc/vbmc.py exists
64 path: /usr/lib/python3.4/site-packages/virtualbmc/vbmc.py
66 - name: Manually patch vmbc to work with python3.x
68 line: " conn.defineXML(ET.tostring(tree, encoding='unicode'))"
70 path: /usr/lib/python3.4/site-packages/virtualbmc/vbmc.py
71 when: vbmc_py.stat.exists == True