Quantcast
Channel: Ask OpenStack: Q&A Site for OpenStack Users and Developers - Individual question feed
Viewing all articles
Browse latest Browse all 7

source openrc with ansible

$
0
0
Hi All, I have tried to create cinder volume on my devstack (VM2) from ansbile (VM1), on devstack did source openrc, while trying to create cinder volume from ansible, by the following command ansible devstack -m command -a 'source /home/test/devstack/openrc' Also Tried with Shell command as well ansible devstack -m shell -a 'source /home/test/devstack/openrc' Got output as below devstack | FAILED | rc=2 >> [Errno 2] No such file or directory Play book also tried : - name: source bashrc sudo: no shell: source /home/test/devstack/openrc args: executable: /bin/bash But no luck,while running same "source /home/test/devstack/openrc" on devstack is working fine, may i know how to use ansible to source openrc tz

Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles





Latest Images