summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2020-10-22 08:56:02 +0200
committerMatthieu Saulnier <fantom@fedoraproject.org>2020-10-22 08:56:02 +0200
commitcb2876e3b9bd0f382f65ef9b1ee433a7eba74311 (patch)
treed179a31149b01cf065b87c18d481904ddd42e279
parent7cd053df005116e24354e54a8151a5f50d0287d7 (diff)
downloadplaybooks-ansible-cb2876e3b9bd0f382f65ef9b1ee433a7eba74311.tar.gz
playbooks-ansible-cb2876e3b9bd0f382f65ef9b1ee433a7eba74311.tar.xz
playbooks-ansible-cb2876e3b9bd0f382f65ef9b1ee433a7eba74311.zip
minor fixes
l---------host_vars/192.168.7.1 (renamed from host_vars/192.168.0.25)0
-rw-r--r--roles/common/tasks/ca.yml2
-rw-r--r--roles/common/tasks/repos.yml32
-rw-r--r--roles/torrelay/tasks/fw.yml4
-rw-r--r--site.yml2
5 files changed, 4 insertions, 36 deletions
diff --git a/host_vars/192.168.0.25 b/host_vars/192.168.7.1
index bbb04fd..bbb04fd 120000
--- a/host_vars/192.168.0.25
+++ b/host_vars/192.168.7.1
diff --git a/roles/common/tasks/ca.yml b/roles/common/tasks/ca.yml
index 43bd853..c76834b 100644
--- a/roles/common/tasks/ca.yml
+++ b/roles/common/tasks/ca.yml
@@ -23,7 +23,7 @@
mode: 0444
tags: keys
-- name: Installation et renouvellement de la CRL
+- name: Mise à jour de la CRL
copy:
src: crt-crl.pem
dest: /etc/pki/tls/certs/crt-crl.pem
diff --git a/roles/common/tasks/repos.yml b/roles/common/tasks/repos.yml
index 024f780..7e7b3c5 100644
--- a/roles/common/tasks/repos.yml
+++ b/roles/common/tasks/repos.yml
@@ -98,38 +98,6 @@
-- name: Configuration du miroir fedora pour ARMv7
- ini_file:
- path: /etc/yum.repos.d/fedora.repo
- section: fedora
- option: baseurl
- value: "{{ optmirror }}/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/"
- no_extra_spaces: yes
- when: ansible_distribution == "Fedora" and ansible_architecture == "armv7l"
- tags: optmirror
-
-- name: Configuration du miroir fedora-updates pour ARMv7
- ini_file:
- path: /etc/yum.repos.d/fedora-updates.repo
- section: updates
- option: baseurl
- value: "{{ optmirror }}/pub/fedora/linux/updates/$releasever/Everything/$basearch/"
- no_extra_spaces: yes
- when: ansible_distribution == "Fedora" and ansible_architecture == "armv7l"
- tags: optmirror
-
-- name: Supprimer metalink dans les repos pour ARMv7
- ini_file:
- path: "/etc/yum.repos.d/{{ item.file }}"
- section: "{{ item.repo }}"
- option: metalink
- state: absent
- no_extra_spaces: yes
- loop:
- - { file: 'fedora.repo', repo: 'fedora' }
- - { file: 'fedora-updates.repo', repo: 'updates' }
- when: ansible_distribution == "Fedora" and ansible_architecture == "armv7l"
- tags: optmirror
diff --git a/roles/torrelay/tasks/fw.yml b/roles/torrelay/tasks/fw.yml
index e4ec267..357308b 100644
--- a/roles/torrelay/tasks/fw.yml
+++ b/roles/torrelay/tasks/fw.yml
@@ -1,6 +1,6 @@
- name: Ouverture du port ORPort
firewalld:
- port: "{{ orport }}"
+ port: "{{ orport }}/tcp"
permanent: yes
immediate: yes
state: enabled
@@ -27,7 +27,7 @@
- name: Ouverture du port DIRPort
firewalld:
- port: "{{ dirport }}"
+ port: "{{ dirport }}/tcp"
permanent: yes
immediate: yes
state: enabled
diff --git a/site.yml b/site.yml
index 503acc4..f9ca474 100644
--- a/site.yml
+++ b/site.yml
@@ -10,7 +10,7 @@
- import_playbook: ntpserver.yml
- import_playbook: proxy.yml
- import_playbook: mtaserver.yml
-- import_playbook: clients.yml
- import_playbook: torrelay.yml
+- import_playbook: clients.yml
- import_playbook: bittorrent.yml
- import_playbook: reverseproxy.yml