use github_branch: main for galaxy import

Galaxy imports of the network role are failing:
https://galaxy.ansible.com/my-imports/1710
```
Task "703539" failed: Command '['git', 'clone', '--quiet', '--depth', '1', '--branch', 'master', 'https://github.com/linux-system-roles/network.git', '/var/tmp/galaxy/imports/tmpnxdxwzmg']' returned non-zero exit status 128.
```
We need to tell galaxy to use `main` instead of `master`.  The galaxy
roles documentation says that `github_branch` may be used for this
purpose:
https://galaxy.ansible.com/docs/contributing/creating_role.html#role-metadata

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
This commit is contained in:
Rich Megginson 2020-09-08 07:57:34 -06:00 committed by Till Maas
parent 9a6bdb5403
commit 35a09bbc61

View file

@ -6,6 +6,7 @@ galaxy_info:
company: Red Hat, Inc.
license: BSD-3-Clause
min_ansible_version: 2.7
github_branch: main
galaxy_tags:
- centos
- fedora