It is one of my favorite films. This film is based on the true story of Oskar Schindler, a business owner in Germany during the second world war period. He is a smart man in the business, did bribe Nazi military officers, and employed Jews in his factory. His action gave hope for Jews while it cost him a lot and made him in a dangerous position. Even though it is only a small number of Jews that can be saved compared to millions who were killed, his action can become an inspiration for future generations. This film is very strong and has a wide view. We can feel how hard living in the war period as slaves is and how important kindness is.
If we maintain a Linux machine with a low memory capacity while we are required to run an application with high memory consumption, enabling swap memory is an option. Ansible can be utilized as a helper tool to automate the creation of swap memory. A swap file can be allocated in the available storage of the machine. The swap file then can be assigned as a swap memory. Firstly, we should prepare the inventory file. The following snippet is an example, you must provide your own configuration. [server] 192.168.1.2 [server:vars] ansible_user=root ansible_ssh_private_key_file=~/.ssh/id_rsa Secondly, we need to prepare the task file that contains not only the tasks but also some variables and connection information. For instance, we set /swapfile as the name of our swap file. We also set the swap memory size to 2GB and the swappiness level to 60. - hosts: server become: true vars: swap_vars: size: 2G swappiness: 60 For simplicity, we only check the...
Comments
Post a Comment