- include_role: name=lfit.system-update
tasks:
- - name: 'Install OpenVSwitch {{ovs_version}}'
+ - name: "Install OpenVSwitch {{ovs_version}}"
block:
- - name: 'Install dependencies required for OpenVSwitch {{ovs_version}}'
- apt: 'name={{item}} state=present'
- with_items:
- - dh-autoreconf
- - debhelper
- - autoconf
- - automake
- - libssl-dev
- - pkg-config
- - bzip2
- - openssl
- - python-all
- - procps
- - python-qt4
- - python-zopeinterface
- - python-twisted-conch
+ - name: "Install dependencies required for OpenVSwitch {{ovs_version}}"
+ apt:
+ name:
+ - dh-autoreconf
+ - debhelper
+ - autoconf
+ - automake
+ - libssl-dev
+ - pkg-config
+ - bzip2
+ - openssl
+ - python-all
+ - procps
+ - python-qt4
+ - python-zopeinterface
+ - python-twisted-conch
+ state: present
become: true
- - name: 'Install OpenVSwitch {{ovs_version}}'
- apt: 'name={{item}} state=present'
- with_items:
- - openvswitch-switch
- - openvswitch-vtep
+ - name: "Install OpenVSwitch {{ovs_version}}"
+ apt:
+ name:
+ - openvswitch-switch
+ - openvswitch-vtep
+ state: present
become: true
- name: Enable openvswitch-switch service
systemd: