Commit 9ebf3b88 authored by Stephen Seltzer's avatar Stephen Seltzer

Adds setup information to build_vars.fact file.

parent 1a1e7d1e
......@@ -53,3 +53,13 @@
- name: make sure activemq is started
service: name="{{ activemq_service_name }}" state="started"
- name: update facts file
lineinfile: "dest='/etc/ansible/facts.d/build_vars.fact' create=true regexp='[activemq]' line='[activemq]'"
- lineinfile: "dest='/etc/ansible/facts.d/build_vars.fact' regexp='activemq_version' line='activemq_version={{ activemq_version }}'"
- lineinfile: "dest='/etc/ansible/facts.d/build_vars.fact' regexp='activemq_name' line='activemq_name={{ activemq_name }}'"
- lineinfile: "dest='/etc/ansible/facts.d/build_vars.fact' regexp='activemq_group' line='activemq_group={{ activemq_group }}'"
- lineinfile: "dest='/etc/ansible/facts.d/build_vars.fact' regexp='activemq_service_name' line='activemq_service_name={{ activemq_service_name }}'"
- lineinfile: "dest='/etc/ansible/facts.d/build_vars.fact' regexp='activemq_inst_directory' line='activemq_inst_directory={{ activemq_inst_directory }}'"
- lineinfile: "dest='/etc/ansible/facts.d/build_vars.fact' regexp='activemq_home_directory' line='activemq_home_directory={{ activemq_home_directory }}'"
- lineinfile: "dest='/etc/ansible/facts.d/build_vars.fact' regexp='activemq_rar_url' line='activemq_rar_url={{ activemq_rar_url }}'"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment