-
Bug
-
Resolution: Not A Defect
-
Minor
-
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.