Commit 8ef1320b authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: Move variables to the playbook instead use roles vars

The roles vars have priority  the playbook ones (at least on 2.x):

http://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#id18
parent 6101f2c5
......@@ -7,5 +7,7 @@
bt5_list: erp5_full_text_myisam_catalog erp5_configurator_standard
startup_playbook_id: erp5-standalone.yml
playbook_name: erp5
request_instance_template: request-erp5.j2
request_frontend_template: request-erp5-frontend.j2
roles:
- standalone-shared
frontend_software_release_url: https://lab.node.vifib.com/nexedi/slapos/raw/1.0.56.1/software/apache-frontend/software.cfg
request_instance_template: request-erp5.j2
request_frontend_template: request-erp5-frontend.j2
firewall_setup_template: setup-firewall.j2
frontend_master_reference: master-frn-{{ playbook_name }}
frontend_slave_reference: slave-srn-{{ playbook_name }}
......
......@@ -3,10 +3,10 @@
connection: local
vars:
software_release_url: https://lab.node.vifib.com/nexedi/slapos/raw/1.0.11/software/slaprunner/software.cfg
software_release_url: https://lab.node.vifib.com/nexedi/slapos/raw/1.0.60/software/slaprunner/software.cfg
startup_playbook_id: webrunner-standalone.yml
playbook_name: webrunner
request_instance_template: request-webrunner.j2
request_frontend_template: request-erp5-frontend.j2
roles:
- standalone-shared
......@@ -6,6 +6,8 @@
software_release_url: https://lab.node.vifib.com/nexedi/slapos/raw/1.0.56/software/wendelin/software.cfg
bt5_list: erp5_full_text_myisam_catalog erp5_configurator_standard erp5_wendelin_configurator
startup_playbook_id: wendelin-standalone.yml
request_instance_template: request-erp5.j2
request_frontend_template: request-erp5-frontend.j2
playbook_name: wendelin
roles:
- standalone-shared
......
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