#33 autocloud: dnf -> package
Merged 4 years ago by pingou. Opened 4 years ago by nphilipp.
fedora-infra/ nphilipp/ansible master--yum-dnf-package--autocloud  into  master

@@ -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

  

rebased onto 72829aebefce4d3d6b88fd222601fdda7a71b364

4 years ago

rebased onto 72829aebefce4d3d6b88fd222601fdda7a71b364

4 years ago

Pull-Request has been merged by pingou

4 years ago
Metadata