Sha256: 2126ff389fa61e604f7a54b8fb9217f40359f1d1ed7a9461a0a1858c05421193

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

---
  - name: Install remote_syslog from papertrail
    command: wget -O /tmp/remote_syslog.tar.gz https://github.com/papertrail/remote_syslog2/releases/download/v0.20/remote_syslog_linux_amd64.tar.gz  creates=/usr/bin/remote_syslog

  - command: tar xzf /tmp/remote_syslog.tar.gz chdir=/tmp/ creates=/usr/bin/remote_syslog

  - command: mv /tmp/remote_syslog/remote_syslog /usr/bin/remote_syslog creates=/usr/bin/remote_syslog
    become: true

  - file: path=/usr/bin/remote_syslog owner=root group=root mode=0755
    become: true

  - command: wget -O /etc/init.d/remote_syslog https://raw.githubusercontent.com/papertrail/remote_syslog2/v0.20/examples/remote_syslog.init.d creates=/etc/init.d/remote_syslog
    become: true

  - file: path=/etc/init.d/remote_syslog owner=root group=root mode=0755
    become: true

  - file: path=/tmp/remote_syslog/ state=absent

  - file: path=/tmp/remote_syslog.tar.gz state=absent

  - template: src=log_files.yml dest=/etc/log_files.yml owner=root group=root mode=0644
    become: true

  - service: name=remote_syslog state=restarted enabled=yes
    become: true


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
subspace-2.3.2 ansible/roles/papertrail/tasks/main.yml