source FOO in Ansible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lets have file FOO with:
export OS_USERNAME=admin
export OS_PASSWORD=ADMIN_PASS

can I somehow do in Ansible:
  source FOO
and for all next actions, those variables will be defined?

Writing:
  - shell: source FOO && bar
looks kind a ugly to me....

-- 
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure





[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux