diff --git a/roles/ansible-server/templates/ansible.cfg.j2 b/roles/ansible-server/templates/ansible.cfg.j2 index 642ce05f79..7242eab441 100644 --- a/roles/ansible-server/templates/ansible.cfg.j2 +++ b/roles/ansible-server/templates/ansible.cfg.j2 @@ -37,7 +37,7 @@ display_args_to_stdout = True gathering = smart # additional paths to search for roles in, colon separated -roles_path = {{ ansible_base }}/ansible/roles +roles_path = {{ ansible_base }}/ansible/roles:{{ ansible_base }}/openshift-ansible/roles # uncomment this to disable SSH key host checking #host_key_checking = False diff --git a/roles/batcave/tasks/main.yml b/roles/batcave/tasks/main.yml index 7d09d537df..11d888c350 100644 --- a/roles/batcave/tasks/main.yml +++ b/roles/batcave/tasks/main.yml @@ -453,3 +453,15 @@ - selinux - httpd - httpd/website + +# +# We setup some external ansible repos here to use for complex applications we deploy +# +- name: local clone of openshift ansible repo + git: > + refspec=c8683028b1c8228a531fac5f1753ff2698b316fc + dest=/srv/web/infra/openshift-ansible + repo=https://github.com/openshift/openshift-ansible + tags: + - config + - batcave