def METHOD_NAME(self, pre_flight_script_args=None):
    data = dict(self.data)
    if pre_flight_script_args:
        data["ssh_pre_flight_args"] = pre_flight_script_args
    self.custom_roster(self.roster, data)
    with salt.utils.files.fopen(data["ssh_pre_flight"], "w") as fp_:
        fp_.write("touch {}".format(self.test_script))