Skip to content

Install Doesn't Work #1

@ninjabong

Description

@ninjabong

Step 5 needs work, or the requirements.yml at least needs some work, namely it should be:

# Ansible Galaxy Requirements
osxc.common-env
osxc.homebrew
osxc.packages
osxc.repository

no --- on the first line, - src: removed, the last line as osxc.repository thus making it a text file.

The issue here is per ansible's own docs YAML files aren't even supported until Ansible 1.8 where pip is installing 1.7.1 still (at least in my local testing yosemite VM and a hosted CentOS7 VM).

The other issue relates to what looks like you wanting to support any user on a machine and thus using /etc/ansible/roles which needs sudo. I'm using roles_path: ./roles in ansible.cfg instead of system-wide (and not supporting multiple users) so it's easier to get a better handle on all the new stuff you have going on. This could be better explicated in the README.md:

"If you're installing system-wide sudo ansible-galaxy install -r requirements.yml otherwise edit ansible.cfg and uncomment #roles_path:./roles before running ansible-galaxy install -requirements.yml"

So... yeah, basically things are messy, and still a work in progress obviously, but I don't want to just push my fixes since I'm just making guesses about how you want this new galaxy powered osxc to work. 8)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions