)]}'
{"install/storlets/roles/create_default_project_docker_image/tasks/main.yml":[{"author":{"_account_id":4608,"name":"Kota Tsuyuzaki","email":"bloodeagle40234@gmail.com","username":"tsuyuzaki-kota"},"change_message_id":"62de3bc573809cf176467edc3a1450577596ee5b","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# TODO(eranr): Change the below to use Ansible os_project_facts"},{"line_number":17,"context_line":"- name: Get the project id from Keystone"},{"line_number":18,"context_line":"  shell: openstack --os-auth-url {{ keystone_public_url }} --os-username {{ keystone_admin_user }} --os-password {{ keystone_admin_password }} --os-project-name {{ keystone_admin_project }} --os-default-domain-name {{ keystone_default_domain }} project list | grep -w {{ project_name }} | awk \u0027{print $2}\u0027"},{"line_number":19,"context_line":"  register: project_id"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"- name: Print the project id whose container we are processing"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"1a430d35_980a1478","line":18,"range":{"start_line":18,"start_character":265,"end_line":18,"end_character":268},"updated":"2017-02-07 10:51:25.000000000","message":"Ok, that is --word-regexp which should match whole words and others should not be matched. Make sense.","commit_id":"61c45305fd4ff23a88062211546662adeb39d047"},{"author":{"_account_id":4608,"name":"Kota Tsuyuzaki","email":"bloodeagle40234@gmail.com","username":"tsuyuzaki-kota"},"change_message_id":"62de3bc573809cf176467edc3a1450577596ee5b","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"- name: Print the project id whose container we are processing"},{"line_number":22,"context_line":"  debug:"},{"line_number":23,"context_line":"    msg: \"{{ project_id.stdout_lines[0] }}\""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- name: create the project specific docker image step 1 - create repo dir"},{"line_number":26,"context_line":"  file:"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"1a430d35_38d760ee","line":23,"updated":"2017-02-07 10:51:25.000000000","message":"Ok, this enables an output [1] and it looks like to be same with default project_id in the keystone.\n\n1: http://logs.openstack.org/54/425054/3/check/gate-storlets-functional-ubuntu-xenial/cde6348/console.html.gz#_2017-02-01_09_10_48_438674\n\n2: http://logs.openstack.org/54/425054/3/check/gate-storlets-functional-ubuntu-xenial/cde6348/console.html.gz#_2017-02-01_09_06_02_018175","commit_id":"61c45305fd4ff23a88062211546662adeb39d047"},{"author":{"_account_id":4608,"name":"Kota Tsuyuzaki","email":"bloodeagle40234@gmail.com","username":"tsuyuzaki-kota"},"change_message_id":"62de3bc573809cf176467edc3a1450577596ee5b","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    mode: 0755"},{"line_number":39,"context_line":"  become: true"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"# To match the gateway runtime scope we need to use only the first 13 chars from project_id.stdout_lines[0]"},{"line_number":42,"context_line":"- name: \"Build the image {{ project_id.stdout_lines[0][0:13] }}\""},{"line_number":43,"context_line":"  command: \"docker build -q -t {{ project_id.stdout_lines[0][0:13] }} .\""},{"line_number":44,"context_line":"  args:"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"1a430d35_d8dd7ce1","line":41,"updated":"2017-02-07 10:51:25.000000000","message":"FWIW, the output looks to work as expected [1]\n\n1: http://logs.openstack.org/54/425054/3/check/gate-storlets-functional-ubuntu-xenial/cde6348/console.html.gz#_2017-02-01_09_10_49_751437","commit_id":"61c45305fd4ff23a88062211546662adeb39d047"}]}
