blob: f5dc1fcf9c40e1e15351e82d610d4949b80cef2a (
plain)
1
2
3
4
5
6
7
8
9
10
|
- name: Read version string from iso packages
shell: cat {{ vyos_cd_squash_root }}/opt/vyatta/etc/version | awk '{print $2}' | tr + -
register: result
- name: Set vyos_version
set_fact:
vyos_version: "{{ result.stdout }}"
- name: Debug version string as read from ISO
debug: msg="This is version {{ vyos_version }}"
|