oveits / openshift-terraform-ansible_installer

2 stars 0 forks source link

Roles not found on Windows machine during Ansible installation of OpenShift #1

Closed oveits closed 7 years ago

oveits commented 7 years ago

It seems like I had created a copy of the openshift-ansible repo, which is missing the symbolic links. This has caused error messages that point out that roles are missing.

oveits commented 7 years ago

Specifically, playbooks/byo/openshift-cluster/roles was missing, probably, because I had seen problems with the symbolic links, then I have added all symbolic link files to .gitignore, and later, they were missing in the next clone.

This is a handling error and I have removed the entries from .gitignore and the issue can be closed.

Note: If I clone the openshift-ansible subproj on Windows with git bash, the symbolic links are replaced by its targets:

$ git clone https://github.com/openshift/openshift-ansible
$ cd openshift-ansible
$ ls -l playbooks/byo/openshift-cluster/roles
-rw-r--r-- 1 olive 197610 14 Oct 15 20:37 playbooks/byo/openshift-cluster/roles

In this case, the roles are found.

If I clone the openshift-ansible subproj on a Linux VM, I get the symbolic links instead:

$ ls -l playbooks/byo/openshift-cluster/roles
lrwxrwxrwx 1 olive 197610 14 Oct 13 15:05 playbooks/byo/openshift-cluster/roles -> ../../../roles

in both cases, the roles are found correctly.

With the removal of the false .gitignore entries, the issue can be closed.