Issue 1:
ISSUE TYPE

Bug Report

COMPONENT NAME

Core

ANSIBLE VERSION

2.4.0.0

(Probably. Install busted so it's hard to tell.)

CONFIGURATION

Not got that far

OS / ENVIRONMENT

macOS Sierra 10.12.6 (16G29)

Xcode 9.0 installed

SUMMARY

Can't install: sudo pip install ansible --upgrade crashes on a missing opensslv.h file.

NOTE: Possibly a duplicate of (closed) #16120, but on macOS, there isn't an openssl-devel that's around to install.

STEPS TO REPRODUCE

$ sudo pip install ansible --upgrade

EXPECTED RESULTS

Ansible gets installed.

ACTUAL RESULTS

reading manifest file 'src/cryptography.egg-info/SOURCES.txt'

reading manifest template 'MANIFEST.in'

no previously-included directories found matching 'docs/_build'

warning: no previously-included files matching '*' found under directory 'vectors'

writing manifest file 'src/cryptography.egg-info/SOURCES.txt'

running build_ext

generating cffi module 'build/temp.macosx-10.12-intel-2.7/_padding.c'

creating build/temp.macosx-10.12-intel-2.7

generating cffi module 'build/temp.macosx-10.12-intel-2.7/_constant_time.c'

generating cffi module 'build/temp.macosx-10.12-intel-2.7/_openssl.c'

building '_openssl' extension

creating build/temp.macosx-10.12-intel-2.7/build

creating build/temp.macosx-10.12-intel-2.7/build/temp.macosx-10.12-intel-2.7

cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c build/temp.macosx-10.12-intel-2.7/_openssl.c -o build/temp.macosx-10.12-intel-2.7/build/temp.macosx-10.12-intel-2.7/_openssl.o -Wconversion -Wno-error=sign-conversion

build/temp.macosx-10.12-intel-2.7/_openssl.c:483:10: fatal error: 'openssl/opensslv.h' file not found

#include <openssl/opensslv.h>

^~~~~~~~~~~~~~~~~~~~

1 error generated.

error: command 'cc' failed with exit status 1

Issue 2:
ISSUE TYPE

Bug Report

COMPONENT NAME

include_role

ANSIBLE VERSION

ansible 2.4.0.0
config file = /usr/local/etc/ansible/ansible.cfg
configured module search path = Default w/o overrides

OS / ENVIRONMENT

FreeBSD-11.1-RELEASE

SUMMARY

Cannot find tasks files from 'include_tasks' statement of included role

STEPS TO REPRODUCE

When I include a role from another role, the include statement of the included role is not able to find the file. For example:

Role A includes role B

- name: Include other role
include_role:
name: roleB

and role B is split into multiple task files:

- name: Install
include_tasks: install.yml

- name: Configure
include_tasks: configure.yml

When role B is directly used from a play everything works fine, but using it from task A failed with 'file not found errors'.

ACTUAL RESULTS

TASK [jails : include_tasks] **********************************************************************************************************************************************************************************
fatal: [domain.local]: FAILED! => {"failed": true, "reason": "Unable to retrieve file contents\nCould not find or access '/data/home/ansible/svn/esmg/cfg/unixadm/jails.yaml'"}