Ben Chuanlong Du's Blog

It is never too late to learn.

Run Commands on Remote Machines

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

On a Sinsgle Machine

SSH

  1. The pipeline command is run locally. If you want the pipeline command to run remotely, place the whole command to be run remotely in double/single …

Cluster Management Made Easy with Ansible

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation

sudo pip3 install ansible

Configuration

Ansible looks for configuration file in the following order.

  1. ansible.cfg in the current directory.

  2. ~/.ansible.cfg

  3. /etc/ansible.cfg

Examples

Copy a file to …

Cluster Management Made Easy with the Python Package Fabric

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Ansible is a better alternative to Fabric. It is suggested that you use Ansible instead.

  1. Docstring will be displayed when you type the command fab -l.

  2. Invoke is for local use …