Solved it! Here's the code to set up logentries with ansible on Ubuntu 14.04, just replace <YOUR ACCOUNT KEY> --- #Ubuntu 14.04 - name: get source code shell: sudo echo 'deb http://rep.logentries.com/ trusty main' > /etc/apt/sources.list.d/logentries.list creates=/etc/le/config - name: get keys shell: sudo gpg --keyserver pgp.mit.edu --recv-keys C43C79AD creates=/etc/le/config - name: export keys shell: gpg -a --export C43C79AD | apt-key add - creates=/etc/le/config - name: update command: sudo apt-get update -q creates=/etc/le/config - name: install logentries command: sudo apt-get install logentries -q -y creates=/etc/le/config - name: register logentries command: sudo le register --account-key=<YOUR ACCOUNT KEY> creates=/etc/le/config - name: install daemon command: sudo apt-get install logentries-daemon -q -y creates=/etc/le/config
On Thursday, January 8, 2015 at 3:15:13 PM UTC-6, [email protected] wrote: > > I'm trying to create a playbook that automatically sets up the logentries > agent on a server, and I was wondering if anyone know how this would be > done, or has done this already. The instructions for downloading logentries > in the terminal can be found here > <https://logentries.com/doc/agent/#installation>. The installer asks for > the login to logentries.com, and then asks whether or not to install. An > account key can be used instead of user credentials, but not until after it > is installed. Any ideas? > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/7d08481e-db09-4d1b-a60f-89515f91e69e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
