Hi All,

I have a playbook like below,
- name: Integrate snow & Ansible hosts: localhost 
  gather_facts: no
  tasks: 
     - debug: 
              msg: play1 
- name: Include a play after another play
  import_playbook: playbookA.yaml 
- name: Include a play after another play
  import_playbook: https://{{ gitlab_username }}:{{ gitlab_password }}@
gitlab.appsintranet.net/cloud/artifactory-hub/ansible-awx-ee/-/blob/dev/Test-Dev/master.yaml

In the above playbook, we are importing playbook current repository, and 
after sucessfull ran of that we are importing another playbook which is 
present in some other repository.
Now correct me if i am wrong i have passed credentails of git like above 
for the other repository.
I have tried execute this playbook in ansible template. it is troughing 
error like this.

ERROR! Unable to retrieve file contents
Could not find or access '/runner/project/Test/https:/
gitlab-secret:stgctnb...@gitlab.appsintranet.net/cloud/hub/ansible-awx-ee/-/blob/dev/Test-Dev/master.yaml
 
<http://gitlab-secret:stgctnbjxcbj...@gitlab.appsintranet.net/cloud/hub/ansible-awx-ee/-/blob/dev/Test-Dev/master.yaml>'
 
on the Ansible Controller.
If you are using a module and expect the file to exist on the remote, see 
the remote_src option

Kindly suggest me and help me resolve this issue.


Thanks 
Reply all
Reply to author
Forwar

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/36800af2-471a-47ce-ab5c-6f40336478c2n%40googlegroups.com.

Reply via email to