Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
1.1 KiB

---
- include_tasks: base_{{ ansible_distribution }}{{ ansible_distribution_major_version }}.yml
tags: repo
- include_tasks: epel_{{ ansible_distribution }}{{ ansible_distribution_major_version }}.yml
tags: repo
- name: Configure FWS repository
yum_repository:
name: fws
description: "Firewall Services"
baseurl: http://repo.firewall-services.com/centos/$releasever/
gpgcheck: True
gpgkey: http://repo.firewall-services.com/RPM-GPG-KEY
tags: repo
- name: Configure FWS Testing repository
yum_repository:
name: fws-testing
description: "Firewall Services Testing"
file: fws
baseurl: http://repo.firewall-services.com/centos-testing/$releasever/
gpgcheck: True
gpgkey: http://repo.firewall-services.com/RPM-GPG-KEY
enabled: False
tags: repo
- name: Configure latest PostgreSQL repository
template: src=postgresql-client.repo.j2 dest=/etc/yum.repos.d/postgresql-client.repo
tags: repo
- name: Remove obsolete repo
file: path=/etc/yum.repos.d/{{ item }}.repo state=absent
loop:
- nux-dextop
- seadrive
- remi-safe
- redis
- fws-extra-nginx
tags: repo
...