Feedzai collection of non core Ansible modules.
Following the directory layout best practices these modules should go in the library
folder of the root.
Add dependency (to pom.xml
):
<dependency>
<groupId>com.feedzai.ansible</groupId>
<artifactId>ansible-modules</artifactId>
<version>${ansible-modules.version}</version>
<classifier>dist</classifier>
<type>tar.gz</type>
</dependency>
Using maven-assembly-plugin
you can unpack the dependency in the desired folder (in dist.xml
):
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<useTransitiveDependencies>false</useTransitiveDependencies>
<outputDirectory>library</outputDirectory>
<unpack>true</unpack>
<includes>
<include>com.feedzai.ansible:ansible-modules</include>
</includes>
</dependencySet>