# Abridged summary of ansible-devel@googlegroups.com - 7 Messages in 2 Topics

**URL:** <https://forum.ansible.com/t/abridged-summary-of-ansible-devel-googlegroups-com-7-messages-in-2-topics/14810>\
**Category:** Ansible Developer\
**Tags:** ansible-devel, galaxy-ng\
**Created:** [March 19, 2014, 8:44pm UTC](https://forum.ansible.com/t/abridged-summary-of-ansible-devel-googlegroups-com-7-messages-in-2-topics/14810 "2014-03-19T20:44:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kesten\_Broughton2](https://avatars.discourse-cdn.com/v4/letter/k/ecc23a/32.png) [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Post date:** [March 19, 2014, 8:44pm UTC](https://forum.ansible.com/t/abridged-summary-of-ansible-devel-googlegroups-com-7-messages-in-2-topics/14810/1 "2014-03-19T20:44:20Z")

</div>

I’m trying to upload my first ansible-galaxy project.

I followed the instructions on the About tab.

I’m not sure if there is a separate “getting started” doc referred to in the message. Not sure what the problem is. meta/main.yml is there.

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [March 19, 2014, 8:51pm UTC](https://forum.ansible.com/t/abridged-summary-of-ansible-devel-googlegroups-com-7-messages-in-2-topics/14810/2 "2014-03-19T20:51:15Z")

</div>

What is the github repository you’re trying to import? It could just be a github API glitch, so you might just need to hit the refresh button on it.

---

<div class="post-metadata">

**Author:** ![Kesten\_Broughton2](https://avatars.discourse-cdn.com/v4/letter/k/ecc23a/32.png) [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Post date:** [March 19, 2014, 8:57pm UTC](https://forum.ansible.com/t/abridged-summary-of-ansible-devel-googlegroups-com-7-messages-in-2-topics/14810/3 "2014-03-19T20:57:39Z")

</div>

[https://github.com/darKoram/ad\_hoc\_logging\_and\_diagnostics](https://github.com/darKoram/ad_hoc_logging_and_diagnostics)

tried a refresh on both my repo and the ansible galaxy uploader

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [March 19, 2014, 9:15pm UTC](https://forum.ansible.com/t/abridged-summary-of-ansible-devel-googlegroups-com-7-messages-in-2-topics/14810/4 "2014-03-19T21:15:34Z")

</div>

Ahh, I see your problem. The import currently expects the role directories to be in the root of the git repo. So right now you’ve got `ad_hoc_logging_and_diagnostics/meta/main.yml` where it just expects to find `meta/main.yml`. We do have a feature request to support keeping roles in sub-directories like that, but for right now you’ll just need to move all of your directories up one level and refresh.

After that you should be fine.

---

<div class="post-metadata">

**Author:** ![Kesten\_Broughton2](https://avatars.discourse-cdn.com/v4/letter/k/ecc23a/32.png) [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Post date:** [March 20, 2014, 12:38am UTC](https://forum.ansible.com/t/abridged-summary-of-ansible-devel-googlegroups-com-7-messages-in-2-topics/14810/5 "2014-03-20T00:38:03Z")

</div>

that worked.

I think the problem was in following the “about” instructions

```auto
$ git clone [https://username@github.com/username/acme](https://username@github.com/username/acme)

```

Change into the acme directory and use the ansible-galaxy CLI to create the scaffolding of a role:

```auto
$ ansible-galaxy init acme

```

```auto

```

```auto
If you do that, you end up with

```

```auto
acme/acme/meta,roles,vars...

```

```auto

```

```auto
New structure that loaded fine

```

```auto

**[****kbroughton@mb-kbroughton **:** proto/ad_hoc_logging_and_diagnostics **** - (master)]** tree .

.

├── LICENSE

├── README.md

├── defaults

│ └── main.yml

├── files

│ ├── hdfs_elastic_msg.yml

│ └── openstack_diagnose_ips.yml

├── handlers

│ └── main.yml

├── meta

│ └── main.yml

├── playbooks

│ └── gather_diagnostics_play.yml

├── scripts

│ ├── test_script.sh

│ └── test_script2.sh

├── tasks

│ ├── gather_diagnostics.yml

│ └── main.yml

├── templates

│ └── set_hostname

└── vars

    └── main.yml

```

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [March 20, 2014, 1:32am UTC](https://forum.ansible.com/t/abridged-summary-of-ansible-devel-googlegroups-com-7-messages-in-2-topics/14810/6 "2014-03-20T01:32:35Z")

</div>

Yes, that doesn’t seem quite right. The way I do it is:

1. git clone foo

2. ansible-galaxy init foo --force

3. cd foo  

4. git add \*

5. git commit && git push
