DEV Community

Query Filter
Query Filter

Posted on

docker12

distributions {
    main {
        contents {
            // This takes the RPM built by Nebula and puts it in the TAR
            from(tasks.named('buildRpm')) 

            // This includes your ansible folder (playbooks/roles)
            from('ansible') {
                into('ansible')
            }
        }
    }
}

// Ensure distTar runs whenever you build/publish
publish.dependsOn distTar
Enter fullscreen mode Exit fullscreen mode

Top comments (0)