Matteo Scandolo | 35113f7 | 2017-08-08 13:05:25 -0700 | [diff] [blame] | 1 | |
| 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | |
Scott Baker | 619de67 | 2016-06-20 12:49:38 -0700 | [diff] [blame] | 17 | --- |
Scott Baker | ffac718 | 2017-07-27 15:21:30 -0700 | [diff] [blame] | 18 | # exampleserviceinstance_playbook |
Scott Baker | 619de67 | 2016-06-20 12:49:38 -0700 | [diff] [blame] | 19 | |
| 20 | - hosts: "{{ instance_name }}" |
| 21 | connection: ssh |
| 22 | user: ubuntu |
| 23 | sudo: yes |
| 24 | gather_facts: no |
| 25 | vars: |
| 26 | - tenant_message: "{{ tenant_message }}" |
| 27 | - service_message: "{{ service_message }}" |
Scott Baker | 7a916f7 | 2017-10-25 16:52:52 -0700 | [diff] [blame^] | 28 | - foreground_color: "{{ foreground_color | default("#000000") }}" |
| 29 | - background_color: "{{ background_color | default("#FFFFFF") }}" |
| 30 | - images: |
| 31 | {% for image in images %} |
| 32 | - name: {{ image.name }} |
| 33 | url: {{ image.url }} |
| 34 | {% endfor %} |
Scott Baker | 619de67 | 2016-06-20 12:49:38 -0700 | [diff] [blame] | 35 | |
| 36 | roles: |
| 37 | - install_apache |
| 38 | - create_index |
| 39 | |