diff options
l--------- | host_vars/192.168.7.1 (renamed from host_vars/192.168.0.25) | 0 | ||||
-rw-r--r-- | roles/common/tasks/ca.yml | 2 | ||||
-rw-r--r-- | roles/common/tasks/repos.yml | 32 | ||||
-rw-r--r-- | roles/torrelay/tasks/fw.yml | 4 | ||||
-rw-r--r-- | site.yml | 2 |
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 @@ -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 |