bc337bd Add ansible_collection.py helper script

Authored and Committed by gotmax23 2 years ago
    Add ansible_collection.py helper script
    
    The %collection_namespace and %collection_name macros are clunky. This
    script preforms two tasks:
        - install: extract the namespace, name, and version from galaxy.yml,
          run `ansible-galaxy install`, and write a filelist for use with
          %files -f.
    
        - test: create a temporary build directory with the required
          directory structure for ansible-test to work and run `ansible-test
          units`.
    
        
file modified
+10 -3
file added
+138