Skip to content

Instantly share code, notes, and snippets.

@smurugap
Last active March 25, 2019 04:23
Show Gist options
  • Save smurugap/b1cb9790a0e844fe9d7eb0448be49dd8 to your computer and use it in GitHub Desktop.
Save smurugap/b1cb9790a0e844fe9d7eb0448be49dd8 to your computer and use it in GitHub Desktop.
disable auto rename of screen titles
touch /etc/sysconfig/bash-prompt-screen
chmod +x /etc/sysconfig/bash-prompt-screen
on each host you want to ssh into
ansible all -i 10.0.0.5,10.0.0.6,10.0.0.7,10.0.0.8,10.0.0.9,10.0.0.10,10.0.0.11,10.0.0.12,10.0.0.13 -m shell -e 'ansible_ssh_pass=c0ntrail123' -a 'touch /etc/sysconfig/bash-prompt-screen; chmod +x /etc/sysconfig/bash-prompt-screen'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment