|
|
@ -4,7 +4,7 @@ |
|
|
|
rpm_key: key="https://www.rudder-project.org/apt-repos/rudder_apt_key.pub" state=present |
|
|
|
when: ansible_distribution == 'CentOS' or ansible_distribution == 'CloudLinux' or ansible_distribution == 'Virtuozzo' |
|
|
|
|
|
|
|
- name: add rudder repo url -- centos |
|
|
|
- name: Remove old rudder repo url -- centos |
|
|
|
yum_repository: |
|
|
|
name: rudder |
|
|
|
description: Rudder 4.1 EL repository |
|
|
@ -12,10 +12,21 @@ |
|
|
|
baseurl: http://www.rudder-project.org/rpm-4.1/RHEL_$releasever/ |
|
|
|
gpgcheck: yes |
|
|
|
gpgkey: http://www.rudder-project.org/rpm-4.1/RHEL_$releasever/repodata/repomd.xml.key |
|
|
|
state: absent |
|
|
|
when: ansible_distribution == 'CentOS' or ansible_distribution == 'CloudLinux' or ansible_distribution == 'Virtuozzo' |
|
|
|
|
|
|
|
- name: add rudder repo url -- centos |
|
|
|
yum_repository: |
|
|
|
name: rudder |
|
|
|
description: Rudder 5.0 EL repository |
|
|
|
file: rudder_repo |
|
|
|
baseurl: http://repository.rudder.io/rpm/5.0/RHEL_$releasever/ |
|
|
|
gpgcheck: yes |
|
|
|
gpgkey: https://repository.rudder.io/rpm/rudder_rpm_key.pub |
|
|
|
when: ansible_distribution == 'CentOS' or ansible_distribution == 'CloudLinux' or ansible_distribution == 'Virtuozzo' |
|
|
|
|
|
|
|
- name: install rudder agent -- centos |
|
|
|
yum: name=rudder-agent state=present update_cache=yes |
|
|
|
yum: name=rudder-agent state=latest update_cache=yes |
|
|
|
when: ansible_distribution == 'CentOS' or ansible_distribution == 'CloudLinux' or ansible_distribution == 'Virtuozzo' |
|
|
|
|
|
|
|
- name: configure rudder server -- centos |
|
|
|