Skip to content
Snippets Groups Projects
Commit c82ed697 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

feat: add alias for running multitail on server.log files from all servers

parent 622c0daf
Branches
No related tags found
No related merge requests found
---
- name: add aliases for Rosetta user
ansible.builtin.blockinfile:
path: "/exlibris/dps/.cshrc"
marker: "# {mark} ANSIBLE MANAGED BLOCK - SLUB extras"
block: |
alias dps_multitail 'cd $op_dir/logs/; multitail --mergeall sdvlzarosappprod01/server.log sdvlzarosappprod02/server.log sdvlzarosappprod03/server.log'
when: "'prod0' in ansible_hostname"
......@@ -47,5 +47,8 @@
ansible.builtin.import_tasks: "rosetta/configure_tomcat.yml"
tags: [rosetta, tomcat, java]
- name: install log archival for Rosetta logs
ansible.builtin.import_tasks: "install_log_archival.yml"
ansible.builtin.import_tasks: "rosetta/install_log_archival.yml"
tags: [rosetta, log, logs]
- name: configure shell environment
ansible.builtin.import_tasks: "rosetta/configure_shell.yml"
tags: [shell, csh, alias, aliases]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment