Sha256: a558e5722face03bf13acb2e3fff541b8ac9d45ebdfb37325cadb9e9e2cd787c

Contents?: true

Size: 1.08 KB

Versions: 6

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.13/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.13/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

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
subspace-2.3.1 ansible/roles/papertrail/tasks/main.yml
subspace-2.3.0 ansible/roles/papertrail/tasks/main.yml
subspace-2.2.3 ansible/roles/papertrail/tasks/main.yml
subspace-2.2.2 ansible/roles/papertrail/tasks/main.yml
subspace-2.2.1 ansible/roles/papertrail/tasks/main.yml
subspace-2.2.0 ansible/roles/papertrail/tasks/main.yml