Sha256: 4e0aba0c7182d2cce2f079a0c518960720dc81310b34ca673b5d6d15e1d87e16

Contents?: true

Size: 1.14 KB

Versions: 26

Compression:

Stored size: 1.14 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

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

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


Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
subspace-3.0.12 ansible/roles/papertrail/tasks/main.yml
subspace-3.0.11 ansible/roles/papertrail/tasks/main.yml
subspace-3.0.10 ansible/roles/papertrail/tasks/main.yml
subspace-3.0.9 ansible/roles/papertrail/tasks/main.yml
subspace-3.0.6 ansible/roles/papertrail/tasks/main.yml
subspace-3.0.5 ansible/roles/papertrail/tasks/main.yml
subspace-3.0.4 ansible/roles/papertrail/tasks/main.yml
subspace-3.0.3 ansible/roles/papertrail/tasks/main.yml
subspace-3.0.2 ansible/roles/papertrail/tasks/main.yml
subspace-3.0.0 ansible/roles/papertrail/tasks/main.yml
subspace-2.5.10 ansible/roles/papertrail/tasks/main.yml
subspace-3.0.0.rc1 ansible/roles/papertrail/tasks/main.yml
subspace-2.5.9 ansible/roles/papertrail/tasks/main.yml
subspace-2.5.8 ansible/roles/papertrail/tasks/main.yml
subspace-2.5.7 ansible/roles/papertrail/tasks/main.yml
subspace-2.5.6 ansible/roles/papertrail/tasks/main.yml
subspace-2.5.5 ansible/roles/papertrail/tasks/main.yml
subspace-2.5.4 ansible/roles/papertrail/tasks/main.yml
subspace-2.5.3 ansible/roles/papertrail/tasks/main.yml
subspace-2.5.2 ansible/roles/papertrail/tasks/main.yml