Quantcast
Channel: Ask OpenStack: Q&A Site for OpenStack Users and Developers - Individual question feed
Browsing latest articles
Browse All 7 View Live

Comment by Eduardo Gonzalez for Hi, Use shell module with double quotes, This...

I realized, that adminrc at devstack is not a tipical rc file, is a script which not need to be sourced, it needs to be executed with the dot. I'll edit the answer.

View Article



Comment by Eduardo Gonzalez for Hi, Use shell module with double quotes, This...

I remember that in the past, devstack adminrc needed to receive the user and password as parameter. You can also pass -e "OS_USERNAME=testuser" as environment parameter with ansible. Regards

View Article

Comment by Eduardo Gonzalez for Hi, Use shell module with double quotes, This...

It works, that is the output from my command using ansible 1.9.4 from Ubuntu to a RedHat server. My rc file is called adminrc.sh, check if yours is with all the necessary parameters and file name....

View Article

Comment by Maestropandy for Hi, Use shell module with double quotes, This...

I tried similar things as well see below test@master:/etc/ansible$ ansible -m shell -a "source ~/adminrc.sh ; cinder list" devstack devstack | FAILED | rc=1 >> /bin/sh: 1: source: not found...

View Article

Answer by Eduardo Gonzalez for Hi All, I have tried to create cinder volume...

Hi, Use shell module with double quotes, This example works fine, # ansible -m shell -a ". ~/adminrc.sh ; cinder list" testserver testserver | success | rc=0 >>...

View Article


Answer by Maestropandy for Hi All, I have tried to create cinder volume on my...

ansible -m shell -a ". ~/adminrc.sh ; cinder list" testserver, it will work

View Article

source openrc with ansible

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...

View Article
Browsing latest articles
Browse All 7 View Live




Latest Images