= ENV['THREADS'] Parallel.map(deploy_projects, in_threads: threads_count.to_i) do |project| # ϏϧυαʔόͷσϓϩΠ # ϚχϑΣετϑΝΠϧͷੜ # S3ͷΞοϓϩʔυ # ΞϓϦέʔγϣϯαʔόʹ end end task release_all: :setup do deploy_projects = "application_A,apllication_B,..." threads_count = ENV['THREADS'] Parallel.map(deploy_projects, in_threads: threads_count.to_i) do |project| # σϓϩΠ(γϯϘϦοΫϦϯΫସ) end end 15/20