summaryrefslogtreecommitdiff
path: root/roles/install-guest-agent/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/install-guest-agent/tasks/main.yml')
-rw-r--r--roles/install-guest-agent/tasks/main.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/roles/install-guest-agent/tasks/main.yml b/roles/install-guest-agent/tasks/main.yml
index f636f53..3c0985c 100644
--- a/roles/install-guest-agent/tasks/main.yml
+++ b/roles/install-guest-agent/tasks/main.yml
@@ -6,10 +6,14 @@
set_fact:
vyos_branch: "crux"
when: vyos_version is regex("^1\.2.*$")
+- name: Set VyOS branch name equuleus
+ set_fact:
+ vyos_branch: "equuleus"
+ when: vyos_version is regex("^1\.3.*$")
- name: Put debian.list
become: true
- copy:
- src: "files/debian.list.{{ debian_version.stdout }}"
+ template:
+ src: "templates/debian.list.j2"
dest: "{{ vyos_install_root }}/etc/apt/sources.list.d/debian.list"
- name: backup resolv.conf
become: true