Move seed:all tasks to be run only on primary machine.
Mereged from master.
Merge pull request #273 from nanan9177/deployment

Move seed:all tasks to be run only on primary machine.