diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2014-05-20 02:04:13 +0200 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2014-05-20 02:04:13 +0200 |
commit | 12c8b5e90deeca6568efd970396d9b63d6472a4c (patch) | |
tree | dffb37a819da99f458bbdb5c1ec31c4f6f247aab /roles/common/tasks/logo.yml | |
parent | b83daf2f325d27d92ab201ab1694932d09282b94 (diff) | |
download | playbooks-ansible-12c8b5e90deeca6568efd970396d9b63d6472a4c.tar.gz playbooks-ansible-12c8b5e90deeca6568efd970396d9b63d6472a4c.tar.xz playbooks-ansible-12c8b5e90deeca6568efd970396d9b63d6472a4c.zip |
Use url with yum module for linux_logo rpm
Diffstat (limited to 'roles/common/tasks/logo.yml')
-rw-r--r-- | roles/common/tasks/logo.yml | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/roles/common/tasks/logo.yml b/roles/common/tasks/logo.yml index d7588d2..8b3647e 100644 --- a/roles/common/tasks/logo.yml +++ b/roles/common/tasks/logo.yml @@ -1,14 +1,9 @@ -- name: Téléchargement linux_logo pour F20 - get_url: dest=/tmp/linux_logo.rpm url=http://fantom.fedorapeople.org/linux_logo-5.11-6.fc20.x86_64.rpm +- name: Installation linux_logo Fedora + yum: name=http://fantom.fedorapeople.org/linux_logo-5.11-6.fc20.x86_64.rpm state=present when: ansible_distribution_version|int == 20 and ansible_architecture == "x86_64" -- name: Téléchargement linux_logo pour F21 - get_url: dest=/tmp/linux_logo.rpm url=http://fantom.fedorapeople.org/linux_logo-5.11-6.fc21.x86_64.rpm - when: ansible_distribution_version|int == 21 and ansible_architecture == "x86_64" - -- name: Installation linux_logo - yum: pkg=/tmp/linux_logo.rpm state=installed - - name: Ajout linux_logo en Exclude (yum) - lineinfile: dest=/etc/yum.conf create=yes state=present insertafter=EOF - line="exclude=linux_logo" + ini_file: dest=/etc/yum.conf + section=main + option=exclude + value=linux_logo |