How to remove u.osu.edu default footer

For some reasons, the unnecessary long and unwanted default footer really bother me, so I decided to remove them using a simple CSS property, ” !important “.

Here is the code that you need to paste in your “Footer Content” under the “Appearance” menu.

<style type=”text/css”> p.accessibility-notice, #global-footer-content, div.report-this-site{ display:none !important; } </style>

Ansible: running command only if the file doesn’t exist

In order to achieve this, you have to use Ansible module, ‘command’ . You also have to make sure that the file that you want to execute is already in the remote host.

Command module has ‘creates’ parameter that checks if the folder already been created, if it doesn’t it will run this command, otherwise Ansible will skip this command.

 
- name: Install Intel Compilers (Skip if it's already been installed) 
  command: /tmp/install_compilers.sh creates=/opt/intel