How to connect two devices with one command

Hello, is it possible to drive two relays boards with one command?
The two boards should switch the same output number.

Thank you
Francesco