Wrap the integration test in a block or conditional include_tasks and first test whether the requirements for that test are present before executing it.
Use CI groups: You can run assing to every integration test in its aliases file an arbitrary group this/is/a/group/name (I think zero slashes is also OK, though all group names I saw had at least one) and pass this/is/a/group/name/ as a target name to ansible-test integration: ansible-test integration this/is/a/group/name/. Then only tests from that group will be run.