GithubHelp home page GithubHelp logo

build-essential's People

Contributors

arhue avatar dialt0ne avatar otakup0pe avatar pjan avatar soupdiver avatar woledzki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

build-essential's Issues

Fails the play on non recognized hosts

Hi, when using this role in one of my playbooks, hosts that have OS's not defined in the vars folder fail with the following message:

fatal: [*HOST*]: FAILED! => {"ansible_facts": {}, "changed": false, "failed": true, "message": "Unable to find 'FreeBSD.yml' in expected paths."}

would it be possible to add a check so this doesen't happen?

This is using ansible 2.3.0.0

Failing

I'm getting an error using a galaxy role that relies on this, using ansible > 2.0

{
  "msg": "One or more items failed",
  "failed": true,
  "changed": false,
  "play": "staging server on AWS",
  "task": "ANXS.build-essential : Make sure the packages are installed (Debian)",
  "role": "ANXS.build-essential",
  "ignore_errors": null,
  "status": "failed",
  "stdout": "[object Object]\n",
  "created": "2016-03-08T16:07:40.803Z",
  "host_id": 60,
  "host_name": "10.0.10.190",
  "id": 47974,
  "parent": 47972,
  "event": "Host Failed"
}

Wouldn't work on Fedora 22

Hi
You will get yum module not found here:
https://github.com/ANXS/build-essential/blob/master/tasks/main.yml#L15
Try with my docker image from https://hub.docker.com/r/weldpua2008/docker-ansible/tags/:

git clone https://github.com/ANXS/build-essential.git
cd build-essential
OS_TYPE=fedora 
OS_VERSION=22 
ANSIBLE_VERSION=1.9.2


sudo docker run --rm=true -v `pwd`:/build-essential:rw weldpua2008/docker-ansible:${OS_TYPE}${OS_VERSION}_v${ANSIBLE_VERSION} /bin/bash -c "
echo localhost > /build-essentia/inventory; ansible-playbook -i  /build-essentia/inventory  /build-essentia/test.yml --connection=local --sudo"

Fails on ubuntu 14.04 with ansible 2.2.0.0

running with ansbile-playbook -vvvv gives me:

task path: /home/ubuntu/images/provisioning/roles/ANXS.build-essential/tasks/main.yml:3
skipping: [localhost] => {
    "changed": false,
    "skip_reason": "Conditional check failed",
    "skipped": true
}

TASK [ANXS.build-essential : Make sure the packages are installed (Debian)] ****
task path: /home/ubuntu/images/provisioning/roles/ANXS.build-essential/tasks/main.yml:6
fatal: [localhost]: FAILED! => {
    "failed": true,
    "msg": "'buildessential_packages' is undefined"
}
	to retry, use: --limit @/home/ubuntu/images/provisioning/rover.retry

PLAY RECAP *********************************************************************
localhost                  : ok=62   changed=5    unreachable=0    failed=1

root@ip-10-84-182-158:/home/ubuntu/images/provisioning# ansible-playbook --version
ansible-playbook 2.2.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
root@ip-10-84-182-158:/home/ubuntu/images/provisioning# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"
root@ip-10-84-182-158:/home/ubuntu/images/provisioning# cat roles/ANXS.build-essential/meta/.galaxy_install_info
{install_date: 'Fri Nov  4 13:58:02 2016', version: v1.0.2}

I am at a loss on why it's skipping the include_vars task.

Failing on ansible2

I tried using this role in an ansible playbook but was getting a permission denied error. I changed the debian task, adding become:yes to use it as sudo and it works. become, however, is kinda new so adding it here would break the role for playbooks using ansible < 1.9.
Any plans on migrating the support for this for a more recent ansible? What should we do in this case?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.