Browse Source

Update rudder role to use new versions for post installation

master
LecygneNoir 2 years ago
parent
commit
6b8755866a
1 changed files with 11 additions and 13 deletions
  1. +11
    -13
      roles/rudder-node/tasks/debian.yml

+ 11
- 13
roles/rudder-node/tasks/debian.yml View File

@ -4,27 +4,25 @@
apt_key: url="https://www.rudder-project.org/apt-repos/rudder_apt_key.pub" state=present
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
- name: remove 4.1 rudder repo url -- debian
- name: remove older rudder repo url -- debian
apt_repository:
repo: 'deb http://www.rudder-project.org/apt-4.1/ {{ansible_distribution_release}} main'
repo: 'deb http://repository.rudder.io/apt/{{ item }}/ {{ansible_distribution_release}} main'
state: absent
filename: 'rudder'
update_cache: yes
with_items:
- 4.1
- 5.0
- 6.0
- 6.1
- 6.2
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
- name: remove 5.0 rudder repo url -- debian
- name: Add 7.0 rudder repo url
apt_repository:
repo: 'deb http://repository.rudder.io/apt/5.0/ {{ansible_distribution_release}} main'
state: absent
filename: 'rudder'
update_cache: yes
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
- name: Add 6.0 rudder repo url -- debian
apt_repository:
repo: 'deb http://repository.rudder.io/apt/6.0/ {{ansible_distribution_release}} main'
repo: 'deb http://repository.rudder.io/apt/7.0/ {{ansible_distribution_release}} main'
state: present
filename: 'rudder'
filename: 'rudder-apt'
update_cache: yes
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'

Loading…
Cancel
Save