The landlord of a property in Ilfracombe has been given a suspended sentence for risking the lives of his tenants by undertaking dangerous gas work.