summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2018-11-24 16:05:20 +0100
committerMatthieu Saulnier <fantom@fedoraproject.org>2018-11-24 16:05:20 +0100
commit2498b5a5d3412b8a9011521f2db1d1644be4701e (patch)
treecdfadc2c64e8ca14754363334ec7c9c2a685fbc1
parent02017209712610158271d01296c3f60b43b35360 (diff)
downloadplaybooks-ansible-2498b5a5d3412b8a9011521f2db1d1644be4701e.tar.gz
playbooks-ansible-2498b5a5d3412b8a9011521f2db1d1644be4701e.tar.xz
playbooks-ansible-2498b5a5d3412b8a9011521f2db1d1644be4701e.zip
Update repo files in common role
-rw-r--r--roles/common/files/fedora-fantom-hidden.repo2
-rw-r--r--roles/common/files/fedora-fantom.repo2
-rw-r--r--roles/common/files/updates-fantom-hidden.repo12
-rw-r--r--roles/common/files/updates-fantom.repo12
-rw-r--r--roles/common/files/updates-testing-fantom-hidden.repo29
-rw-r--r--roles/common/files/updates-testing-fantom.repo29
-rw-r--r--roles/common/tasks/repos.yml24
7 files changed, 34 insertions, 76 deletions
diff --git a/roles/common/files/fedora-fantom-hidden.repo b/roles/common/files/fedora-fantom-hidden.repo
index 0dda9dd..90b12a8 100644
--- a/roles/common/files/fedora-fantom-hidden.repo
+++ b/roles/common/files/fedora-fantom-hidden.repo
@@ -3,6 +3,8 @@ name=Fedora $releasever - $basearch on Casper's hidden server
failovermethod=priority
baseurl=http://pmstfd4f6s5bm2xq.onion/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
enabled=0
+repo_gpgcheck=0
+type=rpm
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
diff --git a/roles/common/files/fedora-fantom.repo b/roles/common/files/fedora-fantom.repo
index c19c9a2..4cf7586 100644
--- a/roles/common/files/fedora-fantom.repo
+++ b/roles/common/files/fedora-fantom.repo
@@ -3,6 +3,8 @@ name=Fedora $releasever - $basearch on Casper's server
failovermethod=priority
baseurl=https://mirror.home.casperlefantom.net:4433/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
enabled=0
+repo_gpgcheck=0
+type=rpm
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
diff --git a/roles/common/files/updates-fantom-hidden.repo b/roles/common/files/updates-fantom-hidden.repo
index 1620b3e..0c160b1 100644
--- a/roles/common/files/updates-fantom-hidden.repo
+++ b/roles/common/files/updates-fantom-hidden.repo
@@ -1,8 +1,10 @@
[updates-fantom-hidden]
name=Fedora $releasever - $basearch - Updates on Casper's hidden server
failovermethod=priority
-baseurl=http://pmstfd4f6s5bm2xq.onion/pub/fedora/linux/updates/$releasever/$basearch/
+baseurl=http://pmstfd4f6s5bm2xq.onion/pub/fedora/linux/updates/$releasever/Everything/$basearch/
enabled=0
+repo_gpgcheck=0
+type=rpm
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
@@ -11,8 +13,10 @@ skip_if_unavailable=False
[updates-debuginfo-fantom-hidden]
name=Fedora $releasever - $basearch - Updates - Debug on Casper's hidden server
failovermethod=priority
-baseurl=http://pmstfd4f6s5bm2xq.onion/pub/fedora/linux/updates/$releasever/$basearch/debug/
+baseurl=http://pmstfd4f6s5bm2xq.onion/pub/fedora/linux/updates/$releasever/Everything/$basearch/debug/
enabled=0
+repo_gpgcheck=0
+type=rpm
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
@@ -21,8 +25,10 @@ skip_if_unavailable=False
[updates-source-fantom-hidden]
name=Fedora $releasever - Updates Source on Casper's hidden server
failovermethod=priority
-baseurl=http://pmstfd4f6s5bm2xq.onion/pub/fedora/linux/updates/$releasever/SRPMS/
+baseurl=http://pmstfd4f6s5bm2xq.onion/pub/fedora/linux/updates/$releasever/Everything/SRPMS/
enabled=0
+repo_gpgcheck=0
+type=rpm
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
diff --git a/roles/common/files/updates-fantom.repo b/roles/common/files/updates-fantom.repo
index 889245e..fa1ffe3 100644
--- a/roles/common/files/updates-fantom.repo
+++ b/roles/common/files/updates-fantom.repo
@@ -1,8 +1,10 @@
[updates-fantom]
name=Fedora $releasever - $basearch - Updates on Casper's server
failovermethod=priority
-baseurl=https://mirror.home.casperlefantom.net:4433/pub/fedora/linux/updates/$releasever/$basearch/
+baseurl=https://mirror.home.casperlefantom.net:4433/pub/fedora/linux/updates/$releasever/Everything/$basearch/
enabled=0
+repo_gpgcheck=0
+type=rpm
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
@@ -11,8 +13,10 @@ skip_if_unavailable=False
[updates-debuginfo-fantom]
name=Fedora $releasever - $basearch - Updates - Debug on Casper's server
failovermethod=priority
-baseurl=https://mirror.home.casperlefantom.net:4433/pub/fedora/linux/updates/$releasever/$basearch/debug/
+baseurl=https://mirror.home.casperlefantom.net:4433/pub/fedora/linux/updates/$releasever/Everything/$basearch/debug/
enabled=0
+repo_gpgcheck=0
+type=rpm
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
@@ -21,8 +25,10 @@ skip_if_unavailable=False
[updates-source-fantom]
name=Fedora $releasever - Updates Source on Casper's server
failovermethod=priority
-baseurl=https://mirror.home.casperlefantom.net:4433/pub/fedora/linux/updates/$releasever/SRPMS/
+baseurl=https://mirror.home.casperlefantom.net:4433/pub/fedora/linux/updates/$releasever/Everything/SRPMS/
enabled=0
+repo_gpgcheck=0
+type=rpm
gpgcheck=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
diff --git a/roles/common/files/updates-testing-fantom-hidden.repo b/roles/common/files/updates-testing-fantom-hidden.repo
deleted file mode 100644
index 729bb71..0000000
--- a/roles/common/files/updates-testing-fantom-hidden.repo
+++ /dev/null
@@ -1,29 +0,0 @@
-[updates-testing-fantom-hidden]
-name=Fedora $releasever - $basearch - Test Updates on Casper's hidden server
-failovermethod=priority
-baseurl=http://pmstfd4f6s5bm2xq.onion/pub/fedora/linux/updates/testing/$releasever/$basearch/
-enabled=0
-gpgcheck=1
-metadata_expire=6h
-gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
-skip_if_unavailable=False
-
-[updates-testing-debuginfo-fantom-hidden]
-name=Fedora $releasever - $basearch - Test Updates Debug on Casper's hidden server
-failovermethod=priority
-baseurl=http://pmstfd4f6s5bm2xq.onion/pub/fedora/linux/updates/testing/$releasever/$basearch/debug/
-enabled=0
-gpgcheck=1
-metadata_expire=6h
-gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
-skip_if_unavailable=False
-
-[updates-testing-source-fantom-hidden]
-name=Fedora $releasever - Test Updates Source on Casper's hidden server
-failovermethod=priority
-baseurl=http://pmstfd4f6s5bm2xq.onion/pub/fedora/linux/updates/testing/$releasever/SRPMS/
-enabled=0
-gpgcheck=1
-metadata_expire=6h
-gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
-skip_if_unavailable=False
diff --git a/roles/common/files/updates-testing-fantom.repo b/roles/common/files/updates-testing-fantom.repo
deleted file mode 100644
index 9b02d13..0000000
--- a/roles/common/files/updates-testing-fantom.repo
+++ /dev/null
@@ -1,29 +0,0 @@
-[updates-testing-fantom]
-name=Fedora $releasever - $basearch - Test Updates on Casper's server
-failovermethod=priority
-baseurl=https://mirror.home.casperlefantom.net:4433/pub/fedora/linux/updates/testing/$releasever/$basearch/
-enabled=0
-gpgcheck=1
-metadata_expire=6h
-gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
-skip_if_unavailable=False
-
-[updates-testing-debuginfo-fantom]
-name=Fedora $releasever - $basearch - Test Updates Debug on Casper's server
-failovermethod=priority
-baseurl=https://mirror.home.casperlefantom.net:4433/pub/fedora/linux/updates/testing/$releasever/$basearch/debug/
-enabled=0
-gpgcheck=1
-metadata_expire=6h
-gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
-skip_if_unavailable=False
-
-[updates-testing-source-fantom]
-name=Fedora $releasever - Test Updates Source on Casper's server
-failovermethod=priority
-baseurl=https://mirror.home.casperlefantom.net:4433/pub/fedora/linux/updates/testing/$releasever/SRPMS/
-enabled=0
-gpgcheck=1
-metadata_expire=6h
-gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
-skip_if_unavailable=False
diff --git a/roles/common/tasks/repos.yml b/roles/common/tasks/repos.yml
index fd0e113..b60cd07 100644
--- a/roles/common/tasks/repos.yml
+++ b/roles/common/tasks/repos.yml
@@ -2,7 +2,7 @@
copy:
src: updates-fantom.repo
dest: /etc/yum.repos.d/updates-fantom.repo
- when: ansible_distribution_version|int >= 20 and ansible_architecture == "x86_64"
+ when: ansible_distribution_version|int >= 28 and ansible_architecture == "x86_64"
and ansible_distribution_release != "Rawhide"
- name: Désactivation du dépôt Updates
@@ -10,7 +10,7 @@
section=updates
option=enabled
value=0
- when: ansible_distribution_version|int >= 20 and ansible_architecture == "x86_64"
+ when: ansible_distribution_version|int >= 28 and ansible_architecture == "x86_64"
and ansible_distribution_release != "Rawhide" and outdoor is not defined
- name: Désactivation du dépôt updates Fantom
@@ -18,7 +18,7 @@
section=updates-fantom
option=enabled
value=0
- when: ansible_distribution_version|int >= 20 and ansible_architecture == "x86_64"
+ when: ansible_distribution_version|int >= 28 and ansible_architecture == "x86_64"
and ansible_distribution_release != "Rawhide" and outdoor is defined
- name: Activation du dépôt Updates
@@ -26,7 +26,7 @@
section=updates
option=enabled
value=1
- when: ansible_distribution_version|int >= 20 and ansible_architecture == "x86_64"
+ when: ansible_distribution_version|int >= 28 and ansible_architecture == "x86_64"
and ansible_distribution_release != "Rawhide" and outdoor is defined
- name: Activation du dépôt updates Fantom
@@ -34,7 +34,7 @@
section=updates-fantom
option=enabled
value=1
- when: ansible_distribution_version|int >= 20 and ansible_architecture == "x86_64"
+ when: ansible_distribution_version|int >= 28 and ansible_architecture == "x86_64"
and ansible_distribution_release != "Rawhide" and outdoor is not defined
@@ -42,7 +42,7 @@
copy:
src: updates-fantom-hidden.repo
dest: /etc/yum.repos.d/updates-fantom-hidden.repo
- when: ansible_distribution_version|int >= 20 and ansible_architecture == "x86_64"
+ when: ansible_distribution_version|int >= 28 and ansible_architecture == "x86_64"
and ansible_distribution_release != "Rawhide"
@@ -50,7 +50,7 @@
copy:
src: fedora-fantom.repo
dest: /etc/yum.repos.d/fedora-fantom.repo
- when: ansible_distribution_version|int >= 24 and ansible_architecture == "x86_64"
+ when: ansible_distribution_version|int >= 27 and ansible_architecture == "x86_64"
and ansible_distribution_release != "Rawhide"
- name: Désactivation du dépôt Fedora
@@ -58,7 +58,7 @@
section=fedora
option=enabled
value=0
- when: ansible_distribution_version|int >= 25 and ansible_architecture == "x86_64"
+ when: ansible_distribution_version|int >= 27 and ansible_architecture == "x86_64"
and ansible_distribution_release != "Rawhide" and outdoor is not defined
- name: Désactivation du dépôt Fedora Fantom
@@ -66,7 +66,7 @@
section=fedora-fantom
option=enabled
value=0
- when: ansible_distribution_version|int >= 24 and ansible_architecture == "x86_64"
+ when: ansible_distribution_version|int >= 27 and ansible_architecture == "x86_64"
and ansible_distribution_release != "Rawhide" and outdoor is defined
- name: Activation du dépôt Fedora
@@ -74,7 +74,7 @@
section=fedora
option=enabled
value=1
- when: ansible_distribution_version|int >= 24 and ansible_architecture == "x86_64"
+ when: ansible_distribution_version|int >= 27 and ansible_architecture == "x86_64"
and ansible_distribution_release != "Rawhide" and outdoor is defined
- name: Activation du dépôt Fedora Fantom
@@ -82,7 +82,7 @@
section=fedora-fantom
option=enabled
value=1
- when: ansible_distribution_version|int >= 25 and ansible_architecture == "x86_64"
+ when: ansible_distribution_version|int >= 27 and ansible_architecture == "x86_64"
and ansible_distribution_release != "Rawhide" and outdoor is not defined
@@ -90,7 +90,7 @@
copy:
src: fedora-fantom-hidden.repo
dest: /etc/yum.repos.d/fedora-fantom-hidden.repo
- when: ansible_distribution_version|int >= 24 and ansible_architecture == "x86_64"
+ when: ansible_distribution_version|int >= 27 and ansible_architecture == "x86_64"
and ansible_distribution_release != "Rawhide"
- name: Installation du dépôt EPEL pour Centos