diff options
| author | SamYaple <sam@yaple.net> | 2016-01-05 17:56:22 +0000 |
|---|---|---|
| committer | SamYaple <sam@yaple.net> | 2016-01-06 04:23:28 +0000 |
| commit | 715942ce305b659ae019782aa412fee52d4df3e0 (patch) | |
| tree | cdba8eb650d3d25d9fb1f7d2fd5eb117d6647ec2 | |
| parent | 260187c6fa2b1ba7f3d9fd30e30ad9ce6b81776b (diff) | |
| download | kolla-715942ce305b659ae019782aa412fee52d4df3e0.tar.gz kolla-715942ce305b659ae019782aa412fee52d4df3e0.zip | |
Allow horizon role to pull images
Change-Id: Iea91c39733d56a9291287a78a44756d8d38ca71d
Partially-Implements: blueprint pre-pull-images
| -rw-r--r-- | ansible/roles/horizon/tasks/deploy.yml | 4 | ||||
| -rw-r--r-- | ansible/roles/horizon/tasks/main.yml | 4 | ||||
| -rw-r--r-- | ansible/roles/horizon/tasks/pull.yml | 7 |
3 files changed, 12 insertions, 3 deletions
diff --git a/ansible/roles/horizon/tasks/deploy.yml b/ansible/roles/horizon/tasks/deploy.yml new file mode 100644 index 000000000..1f16915ad --- /dev/null +++ b/ansible/roles/horizon/tasks/deploy.yml @@ -0,0 +1,4 @@ +--- +- include: config.yml + +- include: start.yml diff --git a/ansible/roles/horizon/tasks/main.yml b/ansible/roles/horizon/tasks/main.yml index 1f16915ad..b017e8b4a 100644 --- a/ansible/roles/horizon/tasks/main.yml +++ b/ansible/roles/horizon/tasks/main.yml @@ -1,4 +1,2 @@ --- -- include: config.yml - -- include: start.yml +- include: "{{ action }}.yml" diff --git a/ansible/roles/horizon/tasks/pull.yml b/ansible/roles/horizon/tasks/pull.yml new file mode 100644 index 000000000..99eab899d --- /dev/null +++ b/ansible/roles/horizon/tasks/pull.yml @@ -0,0 +1,7 @@ +--- +- name: Pulling horizon image + kolla_docker: + action: "pull_image" + common_options: "{{ docker_common_options }}" + image: "{{ horizon_image_full }}" + when: inventory_hostname in groups['horizon'] |
