Last active
January 8, 2019 09:12
-
-
Save dgadiraju/764379cc136e1e16c3f2ed81b31ec7e3 to your computer and use it in GitHub Desktop.
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
ansible all \ | |
-i hosts \ | |
-a "bash -c 'echo never > /sys/kernel/mm/transparent_hugepage/defrag'" \ | |
-u root \ | |
--private-key=~/.ssh/google_compute_engine \ | |
--become | |
ansible all \ | |
-i hosts \ | |
-a "bash -c 'echo never > /sys/kernel/mm/transparent_hugepage/enabled'" \ | |
-u root \ | |
--private-key=~/.ssh/google_compute_engine \ | |
--become | |
ansible all \ | |
-i hosts \ | |
-m synchronize \ | |
-a "src=files/etc/rc.local dest=/etc" \ | |
--become \ | |
--private-key=~/.ssh/google_compute_engine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment