scriptΒΆ
script module enables user to execute a script/binary on the remote machine. action variable is set to execute. Allows user to specify two variables file and args.
- file - An executable on the local machine.
- args - Arguments to the above program.
Example: Execute script disable-multipath.sh on all the remote nodes listed in hosts section:
[script]
action=execute
file=/usr/share/gdeploy/scripts/disable-multipath.sh
Refer hc.conf for a complete example.