38 lines
950 B
Diff
38 lines
950 B
Diff
|
From b89ff30a83b3e38369d6d4f4854855d492f1b31a Mon Sep 17 00:00:00 2001
|
|||
|
From: Maxwell G <gotmax@e.email>
|
|||
|
Date: Sat, 19 Nov 2022 14:11:20 -0600
|
|||
|
Subject: [PATCH] build_ignore unnecessary files
|
|||
|
MIME-Version: 1.0
|
|||
|
Content-Type: text/plain; charset=UTF-8
|
|||
|
Content-Transfer-Encoding: 8bit
|
|||
|
|
|||
|
> Packagers should exclude [unnecessary] files, which SHOULD be done by
|
|||
|
> patching the collection’s galaxy.yml to add these files to the
|
|||
|
> build_ignore configuration. These files SHOULD NOT be removed with rm.
|
|||
|
|
|||
|
-- https://docs.fedoraproject.org/en-US/packaging-guidelines/Ansible_collections/#_unnecessary_files
|
|||
|
---
|
|||
|
galaxy.yml | 7 +++++++
|
|||
|
1 file changed, 7 insertions(+)
|
|||
|
|
|||
|
diff --git a/galaxy.yml b/galaxy.yml
|
|||
|
index 1651456..1226558 100644
|
|||
|
--- a/galaxy.yml
|
|||
|
+++ b/galaxy.yml
|
|||
|
@@ -31,5 +31,12 @@ tags:
|
|||
|
- grafana
|
|||
|
- redis
|
|||
|
- pcp
|
|||
|
+build_ignore:
|
|||
|
+ - .github
|
|||
|
+ - .gitignore
|
|||
|
+ - .ansible-lint
|
|||
|
+ - "*.yml"
|
|||
|
+ - ".*.yaml"
|
|||
|
+ - tests
|
|||
|
|
|||
|
dependencies: {}
|
|||
|
--
|
|||
|
2.38.1
|
|||
|
|