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.
46 lines
1.3 KiB
46 lines
1.3 KiB
5 years ago
|
---
|
||
|
|
||
|
- 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: Install yum priorities plugin
|
||
|
yum:
|
||
|
name:
|
||
|
- yum-plugin-priorities
|
||
|
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 lastest PostgreSQL repository
|
||
|
yum_repository:
|
||
|
name: postgresql-client
|
||
|
description: PostgreSQL
|
||
|
baseurl: https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-$releasever-$basearch
|
||
|
gpgcheck: True
|
||
|
gpgkey: https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-12
|
||
|
state: "{{ repo_postgres | ternary('present','absent') }}"
|
||
|
includepkgs: postgresql12 postgresql12-libs
|
||
|
tags: repo
|
||
|
...
|