ansible/galaxy-issues

When the platform is 'GenericLinux', the import error occurs

Closed this issue · 2 comments

The platform 'GenericLinux' is included in the Platform List, but on the Ansible Galaxy the following error has occured.

https://galaxy.ansible.com/imports#/?github_user=suzuki-shunsuke&github_repo=ansible-rkt-binary

Starting import 136063: role_name=rkt-binary repo=suzuki-shunsuke/ansible-rkt-binary
Accessing branch: master
Parsing and validating meta data.
Parsing galaxy_tags
Parsing platforms
The platform 'GenericLinux' does not appear to be a dictionary, skipping
Parsing and validating README
Adding repo tags as role versions
Removing old tags
Import completed
Status FAILED : warnings=0 errors=1

2017-09-24 20 45 53

This is the meta/main.yml .

https://github.com/suzuki-shunsuke/ansible-rkt-binary/blob/9f696a1e4d954468008f65c0305420964df09b1d/meta/main.yml

galaxy_info:
  author: Suzuki Shunsuke
  description: ansible role to install rkt from binary
  license: MIT
  min_ansible_version: 2.2
  github_branch: master
  platforms:
    - GenericLinux
  galaxy_tags:
    - rkt
dependencies: []

@suzuki-shunsuke

The platform in your meta/main.yml should be an object, and should look like the following:

  • name: GenericLinux
    versions:
    • any

Thant should fix it. Let us know, if you still run into trouble.

Thanks!