summaryrefslogtreecommitdiffstats
path: root/playbooks/untravel.yml
blob: 1a04a0ef29c3afc2eab56683e7c57e00ce141fea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
- hosts: blackbird
  remote_user: root
  tasks:
  - name: Désactive le dépôt Updates
    ini_file: dest=/etc/yum.repos.d/fedora-updates.repo
              section=updates
              option=enabled
              value=0

  - name: Active le miroir du réseau local
    ini_file: dest=/etc/yum.repos.d/updates-fantom.repo
              section=updates-fantom
              option=enabled
              value=1

  - name: Désactive Delta RPM
    ini_file: dest=/etc/yum.conf
              section=main
              option=deltarpm
              value=0