-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Minor
-
Component/s: ansible-plugin
-
Environment:Jenkins 2.46.1
Ansible Plugin 0.6.2
CentOS 6.7
OpenJDK 1.7.0_85
Hello,
Â
I'm trying to read the $BRANCH_NAME env vars in my playbook, just like the Wiki example, but it's empty.
 Â
- hosts: "{{ lookup('env','BRANCH_NAME') }}" gather_facts: false
Â
I'll use the branch name to update some files on target host. Is the any special setup in Ansible or Jenkins for this case? I've tried also with "gather_facts:Â true" but without success.