diff --git a/ansible/roles/keystone/tasks/deploy.yml b/ansible/roles/keystone/tasks/deploy.yml new file mode 100644 index 0000000000..10a7a1bf5a --- /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 10a7a1bf5a..b017e8b4ad 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 0000000000..b8c067236b --- /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']