Commit 8157594b authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_web_deploy: Make automated (question-less) configuration script more flexible

Don't clear and allow us to pass parameters for the ansible commant which allow us pass extra variables.
parent 338b1894
...@@ -12,7 +12,5 @@ ${base_setup_content} ...@@ -12,7 +12,5 @@ ${base_setup_content}
${slapos_install_content} ${slapos_install_content}
clear
echo "Starting Ansible playbook:" echo "Starting Ansible playbook:"
ansible-playbook vifib-base.yml -i hosts --connection=local ansible-playbook vifib-base.yml -i hosts --connection=local $*
...@@ -206,6 +206,7 @@ ...@@ -206,6 +206,7 @@
</item> </item>
</dictionary> </dictionary>
</list> </list>
<none/>
</tuple> </tuple>
</pickle> </pickle>
</record> </record>
...@@ -238,7 +239,7 @@ ...@@ -238,7 +239,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>969.56400.34977.6946</string> </value> <value> <string>977.26251.62729.6963</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -256,7 +257,7 @@ ...@@ -256,7 +257,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1535365565.01</float> <float>1564700830.23</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
...@@ -265,6 +266,7 @@ ...@@ -265,6 +266,7 @@
</item> </item>
</dictionary> </dictionary>
</list> </list>
<none/>
</tuple> </tuple>
</pickle> </pickle>
</record> </record>
...@@ -322,6 +324,7 @@ ...@@ -322,6 +324,7 @@
</item> </item>
</dictionary> </dictionary>
</list> </list>
<none/>
</tuple> </tuple>
</pickle> </pickle>
</record> </record>
......
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