Skip to content

Commit

Permalink
Add nmstate-0.4 installation playbook
Browse files Browse the repository at this point in the history
Enable 'nmstate/nispor', 'nmstate/NetworkManager', 'nmstate/nmstate'
repository first, then install nmstate 0.4 package to support using 'port'.

Signed-off-by: Wen Liang <[email protected]>
  • Loading branch information
liangwen12year authored and ffmancera committed Nov 30, 2020
1 parent 08db3ff commit 296dfa4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions playbooks/nmstate-0.4_installation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
- hosts: all
become: True
tasks:
- name: Enable 'nmstate/nispor' repository
command:
cmd: sudo dnf -y copr enable nmstate/nispor
warn: false

- name: Enable 'nmstate/NetworkManager' repository
command:
cmd: sudo dnf -y copr enable nmstate/NetworkManager
warn: false

- name: Enable 'nmstate/nmstate' repository
command:
cmd: sudo dnf -y copr enable nmstate/nmstate
warn: false

- name: Install nmstate 0.4 package
command:
cmd: sudo dnf install -y nmstate
warn: false

0 comments on commit 296dfa4

Please sign in to comment.