aboutsummaryrefslogtreecommitdiffstats
path: root/installation/ansible-server/src/main/Playbooks/ansible_upgradesw@0.00.yml
blob: 886705db47d63cf77b17b8ab9664a914bacfb483 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
- hosts: all
  tasks:
  - name: add fd.io repository
    lineinfile:
      path: /etc/apt/sources.list.d/99fd.io.list
      state: present
      create: yes
      regexp: 'fd.io.stable.1707'
      line: 'deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io.stable.1707.ubuntu.xenial.main/ ./'
    become: true
  - name: upgrade vpp software
    apt:
      name: vpp
      state: latest
      update_cache: yes
    become: true