diff --git a/roles/autosigner/tasks/main.yml b/roles/autosigner/tasks/main.yml index 2b58dd7ab1..ede4927501 100644 --- a/roles/autosigner/tasks/main.yml +++ b/roles/autosigner/tasks/main.yml @@ -1,6 +1,5 @@ -# sigul needs to be the latest package from the infrastructure builder repo -- name: install dependencies (latest versions) - yum: state=latest pkg={{ item }} +- name: install dependencies + yum: state=present pkg={{ item }} with_items: - sigul tags: diff --git a/roles/fedimg/tasks/main.yml b/roles/fedimg/tasks/main.yml index fa96a1a2d5..ccd171f9c6 100644 --- a/roles/fedimg/tasks/main.yml +++ b/roles/fedimg/tasks/main.yml @@ -8,19 +8,7 @@ - fedmsg - python-paramiko - python-fedimg - tags: - - fedimg - -- name: except for python-libcloud, we need the super latest version - yum: pkg={{ item }} state=latest enablerepo=epel-testing - with_items: - python-libcloud - tags: - - fedimg - -- name: install latest fedimg - yum: pkg={{ item }} state=latest - with_items: - python-fedimg tags: - fedimg diff --git a/roles/mailman/tasks/main.yml b/roles/mailman/tasks/main.yml index c4a7d5c953..cfe95cdf7c 100644 --- a/roles/mailman/tasks/main.yml +++ b/roles/mailman/tasks/main.yml @@ -123,7 +123,7 @@ tags: mailman - name: install the mailman3 fedmsg plugin rpm - yum: pkg=mailman3-fedmsg-plugin state=latest + yum: pkg=mailman3-fedmsg-plugin notify: restart mailman3 when: ansible_distribution == 'RedHat' tags: mailman diff --git a/roles/taskotron/buildslave/tasks/main.yml b/roles/taskotron/buildslave/tasks/main.yml index 750622aaf1..be287f3ab4 100644 --- a/roles/taskotron/buildslave/tasks/main.yml +++ b/roles/taskotron/buildslave/tasks/main.yml @@ -1,23 +1,6 @@ --- -- name: ensure packages required for buildslave are installed (yum) - yum: name={{ item }} state=latest enablerepo={{ extra_enablerepos }} - with_items: - - buildbot-slave - - git - - rpmlint - - koji - - bodhi-client - - python-virtualenv - - gcc - - libcurl-devel - - rpm-build - - pylint - - python-pep8 - - moreutils - when: ansible_distribution_major_version|int < 22 - - name: ensure packages required for buildslave are installed (dnf) - dnf: name={{ item }} state=latest enablerepo={{ extra_enablerepos }} + dnf: name={{ item }} state=present enablerepo={{ extra_enablerepos }} with_items: - buildbot-slave - git diff --git a/roles/testdays/tasks/main.yml b/roles/testdays/tasks/main.yml index fc9117a862..8d160392fa 100644 --- a/roles/testdays/tasks/main.yml +++ b/roles/testdays/tasks/main.yml @@ -1,6 +1,6 @@ --- - name: ensure packages required for testdays are installed - action: yum name={{ item }} state=latest + action: yum name={{ item }} state=present with_items: - testdays - mod_wsgi