summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/logo.yml
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2014-05-20 02:04:13 +0200
committerMatthieu Saulnier <fantom@fedoraproject.org>2014-05-20 02:04:13 +0200
commit12c8b5e90deeca6568efd970396d9b63d6472a4c (patch)
treedffb37a819da99f458bbdb5c1ec31c4f6f247aab /roles/common/tasks/logo.yml
parentb83daf2f325d27d92ab201ab1694932d09282b94 (diff)
downloadplaybooks-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.yml17
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