Remove Calico qemu configuration
It is moved to the Nova role where libvirt/qemu is managed in Id2cfa3353543fecd55f1135abad89f07071e2f60. Depends-On: Id2cfa3353543fecd55f1135abad89f07071e2f60 Change-Id: Ib2d2056962e38f6fa4f96785a333413bf2c2fead
This commit is contained in:
parent
3a8b9ffc79
commit
48436849d2
@ -1,7 +0,0 @@
|
||||
clear_emulator_capabilities = 0
|
||||
cgroup_device_acl = [
|
||||
"/dev/null", "/dev/full", "/dev/zero",
|
||||
"/dev/random", "/dev/urandom",
|
||||
"/dev/ptmx", "/dev/kvm", "/dev/kqemu",
|
||||
"/dev/rtc", "/dev/hpet", "/dev/net/tun",
|
||||
]
|
@ -13,12 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Restart libvirt-bin
|
||||
service:
|
||||
name: "libvirt-bin"
|
||||
state: "restarted"
|
||||
pattern: "libvirt-bin"
|
||||
|
||||
- name: Restart neutron services
|
||||
service:
|
||||
name: "{{ item.value.service_name }}"
|
||||
|
@ -34,20 +34,6 @@
|
||||
- calico-install
|
||||
- calico-pip-packages
|
||||
|
||||
- name: Set Calico compatible qemu libvirt config
|
||||
copy:
|
||||
src: "calico-qemu.conf"
|
||||
dest: "/etc/libvirt/qemu.conf"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0644"
|
||||
notify: Restart libvirt-bin
|
||||
when:
|
||||
- neutron_services['calico-felix']['group'] in group_names
|
||||
or neutron_services['calico-dhcp-agent']['group'] in group_names
|
||||
tags:
|
||||
- calico-config
|
||||
|
||||
- name: Ensure calico config directory exists
|
||||
file:
|
||||
path: "/etc/calico"
|
||||
|
Loading…
Reference in New Issue
Block a user