diff options
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/travel.yml | 21 | ||||
-rw-r--r-- | playbooks/untravel.yml | 21 | ||||
-rw-r--r-- | playbooks/update.yml | 7 |
3 files changed, 0 insertions, 49 deletions
diff --git a/playbooks/travel.yml b/playbooks/travel.yml deleted file mode 100644 index 3ef9e7e..0000000 --- a/playbooks/travel.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- hosts: blackbird - remote_user: root - tasks: - - name: Désactive le miroir du réseau local - ini_file: dest=/etc/yum.repos.d/updates-fantom.repo - section=updates-fantom - option=enabled - value=0 - - - name: Active le dépôt Updates - ini_file: dest=/etc/yum.repos.d/fedora-updates.repo - section=updates - option=enabled - value=1 - - - name: Active Delta RPM - ini_file: dest=/etc/yum.conf - section=main - option=deltarpm - value=1 diff --git a/playbooks/untravel.yml b/playbooks/untravel.yml deleted file mode 100644 index 1a04a0e..0000000 --- a/playbooks/untravel.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- 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 diff --git a/playbooks/update.yml b/playbooks/update.yml index 58cd0be..844bb2d 100644 --- a/playbooks/update.yml +++ b/playbooks/update.yml @@ -13,10 +13,3 @@ register: update2 when: ansible_pkg_mgr == "dnf" -- hosts: - - reboot - remote_user: root - tasks: - - name: Reboot automatique - command: reboot - when: update1.changed == true or update2.changed == true |