From 72829aebefce4d3d6b88fd222601fdda7a71b364 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Jun 11 2019 16:06:46 +0000 Subject: autocloud: dnf -> package Signed-off-by: Nils Philippsen --- diff --git a/playbooks/manual/upgrade/autocloud.yml b/playbooks/manual/upgrade/autocloud.yml index 6b38496..eaa42fb 100644 --- a/playbooks/manual/upgrade/autocloud.yml +++ b/playbooks/manual/upgrade/autocloud.yml @@ -14,10 +14,10 @@ - name: clean all metadata command: dnf clean all check_mode: no - - name: dnf update autocloud packages from main repo - dnf: name="autocloud*" state=latest + - name: update autocloud packages from main repo + package: name="autocloud*" state=latest when: not testing - - name: dnf update autocloud packages from testing repo + - name: update autocloud packages from testing repo dnf: name="autocloud*" state=latest enablerepo=infrastructure-tags-stg when: testing @@ -34,10 +34,10 @@ - import_tasks: "{{ handlers_path }}/restart_services.yml" tasks: - - name: dnf update tunir packages from main repo - dnf: name="tunir" state=latest + - name: update tunir packages from main repo + package: name="tunir" state=latest when: not testing - - name: dnf update tunir packages from testing repo + - name: update tunir packages from testing repo dnf: name="tunir" state=latest enablerepo=infrastructure-tags-stg when: testing @@ -54,10 +54,10 @@ - import_tasks: "{{ handlers_path }}/restart_services.yml" tasks: - - name: dnf update fedfind packages from main repo - dnf: name="fedfind" state=latest + - name: update fedfind packages from main repo + package: name="fedfind" state=latest when: not testing - - name: dnf update fedfind packages from testing repo + - name: update fedfind packages from testing repo dnf: name="fedfind" state=latest enablerepo=infrastructure-tags-stg when: testing @@ -74,10 +74,10 @@ - import_tasks: "{{ handlers_path }}/restart_services.yml" tasks: - - name: dnf update fedfind packages from main repo - dnf: name="python2-fedfind" state=latest + - name: update fedfind packages from main repo + package: name="python2-fedfind" state=latest when: not testing - - name: dnf update fedfind packages from testing repo + - name: update fedfind packages from testing repo dnf: name="python2-fedfind" state=latest enablerepo=infrastructure-tags-stg when: testing