diff options
| -rw-r--r-- | ansible/roles/keystone/tasks/deploy.yml | 14 | ||||
| -rw-r--r-- | ansible/roles/keystone/tasks/main.yml | 14 | ||||
| -rw-r--r-- | ansible/roles/keystone/tasks/pull.yml | 7 |
3 files changed, 22 insertions, 13 deletions
diff --git a/ansible/roles/keystone/tasks/deploy.yml b/ansible/roles/keystone/tasks/deploy.yml new file mode 100644 index 000000000..10a7a1bf5 --- /dev/null +++ b/ansible/roles/keystone/tasks/deploy.yml @@ -0,0 +1,14 @@ +--- +- include: config.yml + when: inventory_hostname in groups['keystone'] + +- include: bootstrap.yml + when: inventory_hostname in groups['keystone'] + +- include: start.yml + when: inventory_hostname in groups['keystone'] + +- include: register.yml + when: inventory_hostname in groups['keystone'] + +- include: check.yml diff --git a/ansible/roles/keystone/tasks/main.yml b/ansible/roles/keystone/tasks/main.yml index 10a7a1bf5..b017e8b4a 100644 --- a/ansible/roles/keystone/tasks/main.yml +++ b/ansible/roles/keystone/tasks/main.yml @@ -1,14 +1,2 @@ --- -- include: config.yml - when: inventory_hostname in groups['keystone'] - -- include: bootstrap.yml - when: inventory_hostname in groups['keystone'] - -- include: start.yml - when: inventory_hostname in groups['keystone'] - -- include: register.yml - when: inventory_hostname in groups['keystone'] - -- include: check.yml +- include: "{{ action }}.yml" diff --git a/ansible/roles/keystone/tasks/pull.yml b/ansible/roles/keystone/tasks/pull.yml new file mode 100644 index 000000000..b8c067236 --- /dev/null +++ b/ansible/roles/keystone/tasks/pull.yml @@ -0,0 +1,7 @@ +--- +- name: Pulling keystone image + kolla_docker: + action: "pull_image" + common_options: "{{ docker_common_options }}" + image: "{{ keystone_image_full }}" + when: inventory_hostname in groups['keystone'] |
