redhat-cop / ansible-role-jboss-common

Apache License 2.0
10 stars 15 forks source link

Use this role in Tower #9

Open VyBui opened 5 years ago

VyBui commented 5 years ago

Hello @sabre1041,

I have found your repository very helpful and flexible for installing JBoss's servers in Centos.

I have a question on how to use this role in Ansible Tower? because it does not accept "vars_prompt" in the playbook so the Tower would just be hanging if I ran this role.

Some people say that I should use Ansible Tower's survey as an equivalent but I do not want to do this way. I want to ask if we have another option to skip authenticate to Redhat and start with the downloaded files already?

I am looking forward to seeing your comments.

Thanks

aoyawale commented 5 years ago

is this more specific to all the roles?

davgordo commented 5 years ago

I think the only trick here is to define set the values ahead of time in some way like with extra_vars. I've used this role with Tower recently, and I think that's all I had to do to avoid the prompt.

On Tue, Apr 2, 2019 at 9:58 AM Jonathan Lozada D. notifications@github.com wrote:

is this more specific to all the roles?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/redhat-cop/ansible-role-jboss-common/issues/9#issuecomment-479008920, or mute the thread https://github.com/notifications/unsubscribe-auth/ANnw74TFdNdK3s8aRBTG3hw1Or3eJjYjks5vc2IdgaJpZM4cXGWm .

-- David Gordon Red Hat Consulting Email: davgordo@redhat.com Phone: (407) 797-2737 Blog: http://openpersuasion.org

VyBui commented 5 years ago

Guys, thank you for commenting on this issue.

@jlozadad I think this is specific to the common role, anyway every other role first run this role, so it is quite implied to all other roles.

@davgordo do you mean you deleted the task on common and use extra_vars instead? Could you please share the variable that you did in "extra_vars"?