Clarification -- Disabling SQL Server 2014 Agent Job in AOAG Secondary replicas
just need to enable it on the current replica. 


You will need to modify you sql agent jobs to include below step

CREATE FUNCTION dbo.fn_hadr_group_is_primary (@AGName sysname)
RETURNS bit 
AS
BEGIN 
DECLARE @PrimaryReplica sysname; 
SELECT @PrimaryReplica = hags.primary_replica 
FROM 
sys.dm_hadr_availability_group_states hags
INNER JOIN sys.availability_groups ag ON ag.group_id = hags.group_id
WHERE
ag.name = @AGName;

IF UPPER(@PrimaryReplica) =  UPPER(@@SERVERNAME)
RETURN 1; -- primary

RETURN 0; -- not primary
  END; 

GO


So you have to create the above function in all your replicas  and add as first step in sql agent jobs you wish to execute

If the replica is not primary,you can modify the job to Quit

This has been covered in depth here :
AlwaysOn Availability Groups and SQL Server Jobs, Part 7: Detecting Primary Replica Ownership