)]}'
{"tasks/nova_compute_key_distribute.yml":[{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"fdc498f0a4c19f6507b78cebe92e200cd28b37cb","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# The authorized key file script will be generated by the copy command for all known"},{"line_number":17,"context_line":"#  hosts within the environment. This script will add a key to the nova users"},{"line_number":18,"context_line":"#  autorizedd_keys file if its not already found."},{"line_number":19,"context_line":"#  Running the script:"},{"line_number":20,"context_line":"#  * The script will exit 99 if the home folder for the user set by"},{"line_number":21,"context_line":"#    \"nova_system_user_name\" is not found."}],"source_content_type":"text/x-yaml","patch_set":1,"id":"9abb7d3a_d9197a7b","line":18,"updated":"2016-06-02 20:46:53.000000000","message":"typo: authorized_keys","commit_id":"28267f2dbdb809953a95d1971b29398132d7d15b"},{"author":{"_account_id":19814,"name":"Travis Truman (automagically)","email":"travis_truman@cable.comcast.com","username":"trumant"},"change_message_id":"fa3e1755b74e5d4325a076fc11e802d54534f612","unresolved":false,"context_lines":[{"line_number":24,"context_line":"- name: Drop authorized keys file script"},{"line_number":25,"context_line":"  copy:"},{"line_number":26,"context_line":"    content: |"},{"line_number":27,"context_line":"      #!/usr/bin/env bash"},{"line_number":28,"context_line":"      set -e"},{"line_number":29,"context_line":"      EXIT_CODE\u003d0"},{"line_number":30,"context_line":"      USER_HOME\u003d\"$(getent passwd {{ nova_system_user_name }} | awk -F\u0027:\u0027 \u0027{print $6}\u0027)\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7aa08908_5de7a43f","line":27,"updated":"2016-06-08 13:27:15.000000000","message":"Can we extract this out of the YAML and into a template file?","commit_id":"88391586f1c341790c0384c0ab0c34ae8f99fd1c"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"513309cc0ca11f77aba92c055e4261f7025f57b3","unresolved":false,"context_lines":[{"line_number":24,"context_line":"- name: Drop authorized keys file script"},{"line_number":25,"context_line":"  copy:"},{"line_number":26,"context_line":"    content: |"},{"line_number":27,"context_line":"      #!/usr/bin/env bash"},{"line_number":28,"context_line":"      set -e"},{"line_number":29,"context_line":"      EXIT_CODE\u003d0"},{"line_number":30,"context_line":"      USER_HOME\u003d\"$(getent passwd {{ nova_system_user_name }} | awk -F\u0027:\u0027 \u0027{print $6}\u0027)\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3aaa91ec_91a3f6ff","line":27,"in_reply_to":"7aa08908_5de7a43f","updated":"2016-06-23 15:55:09.000000000","message":"Done","commit_id":"88391586f1c341790c0384c0ab0c34ae8f99fd1c"},{"author":{"_account_id":19814,"name":"Travis Truman (automagically)","email":"travis_truman@cable.comcast.com","username":"trumant"},"change_message_id":"fa3e1755b74e5d4325a076fc11e802d54534f612","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    - nova-key"},{"line_number":51,"context_line":"    - nova-key-distribute"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"- name: Drop authorized keys file script"},{"line_number":54,"context_line":"  command: \"/usr/local/bin/openstack-nova-key.sh\""},{"line_number":55,"context_line":"  register: key_create"},{"line_number":56,"context_line":"  changed_when: key_create.rc \u003d\u003d 3"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7aa08908_fd94908b","line":53,"updated":"2016-06-08 13:27:15.000000000","message":"Task name should be \"Run authorized keys file script\"","commit_id":"88391586f1c341790c0384c0ab0c34ae8f99fd1c"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"513309cc0ca11f77aba92c055e4261f7025f57b3","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    - nova-key"},{"line_number":51,"context_line":"    - nova-key-distribute"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"- name: Drop authorized keys file script"},{"line_number":54,"context_line":"  command: \"/usr/local/bin/openstack-nova-key.sh\""},{"line_number":55,"context_line":"  register: key_create"},{"line_number":56,"context_line":"  changed_when: key_create.rc \u003d\u003d 3"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"3aaa91ec_d1b1fe48","line":53,"in_reply_to":"7aa08908_fd94908b","updated":"2016-06-23 15:55:09.000000000","message":"Done","commit_id":"88391586f1c341790c0384c0ab0c34ae8f99fd1c"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"ee6ca695a19dc1220245e71923ce78649f4bc614","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    src: \"nova-key-insert.sh.j2\""},{"line_number":22,"context_line":"    dest: \"/usr/local/bin/openstack-nova-key.sh\""},{"line_number":23,"context_line":"    mode: \"0755\""},{"line_number":24,"context_line":"  delegate_to: localhost"},{"line_number":25,"context_line":"  when: inventory_hostname \u003d\u003d groups[\u0027nova_compute\u0027][0]"},{"line_number":26,"context_line":"  tags:"},{"line_number":27,"context_line":"    - nova-key"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"dada55a8_f779d0fd","line":24,"range":{"start_line":24,"start_character":15,"end_line":24,"end_character":24},"updated":"2016-07-19 04:03:32.000000000","message":"Not a blocker imo but could we change this to a single compute node? something like \"{{ groups[\u0027nova_compute\u0027][0] }}\" which could be used in the \"Copy templated authorized keys file script\" task to send the rendered file out to the other compute nodes which would ensure we\u0027re not writing this file to the deployment node?","commit_id":"bda35e7fd60b48af24b0b7501bffba151ab2d187"},{"author":{"_account_id":14805,"name":"Jimmy McCrory","email":"jimmy.mccrory@gmail.com","username":"jimmy-mccrory"},"change_message_id":"b49cf299007c3f9f72672ab8664cacca697450f7","unresolved":false,"context_lines":[{"line_number":21,"context_line":"    src: \"nova-key-insert.sh.j2\""},{"line_number":22,"context_line":"    dest: \"/usr/local/bin/openstack-nova-key.sh\""},{"line_number":23,"context_line":"    mode: \"0755\""},{"line_number":24,"context_line":"  delegate_to: localhost"},{"line_number":25,"context_line":"  when: inventory_hostname \u003d\u003d groups[\u0027nova_compute\u0027][0]"},{"line_number":26,"context_line":"  tags:"},{"line_number":27,"context_line":"    - nova-key"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"dada55a8_baba9d21","line":24,"range":{"start_line":24,"start_character":15,"end_line":24,"end_character":24},"in_reply_to":"dada55a8_f779d0fd","updated":"2016-07-19 04:26:32.000000000","message":"I like that better, but not sure how to pull it off.\n\nIt looks like copy only works with a local source file and rsync/synchronize would need to have the authorized_keys, that these tasks are distributing, already in place.\n\nMaybe write to a more temporary location on the deployment host?","commit_id":"bda35e7fd60b48af24b0b7501bffba151ab2d187"}]}
