Hi forum **newbie alert**

I want to do this:
sudo vi /etc/yum.repos.d/kibana.repo

[kibana-4.4]
name=Kibana repository for 4.4.x packages
baseurl=http://packages.elastic.co/kibana/4.4/centos
gpgcheck=1
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1

sudo yum -y install kibana

So I think I would normally do this:

---
- hosts: servers
  sudo: yes
  tasks:
    - name: install kibana
      apt: name= kibana update_cache=yes state=latest

But I need to write the repo file first before I do a yum - can any one 
help with this?


Thanks!
Nik

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/eb6df7ab-0a58-4cc3-b539-100f04ae54be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to