Created
August 14, 2017 06:49
-
-
Save nitanka/37e6d4878b19032807f16eb6f972fa66 to your computer and use it in GitHub Desktop.
Ansible: To clear cache of servers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Installing HADOOP CLUSTER | |
hosts: <hostgroup> | |
become: yes | |
gather_facts: true | |
tasks: | |
- name: Clearing the cache | |
shell: sync; echo 3 > /proc/sys/vm/drop_caches |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment