)]}'
{"playbooks/ci-workarounds/set-stack-key.yaml":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c61b84155c770ed3091938db612d363d981525f1","unresolved":false,"context_lines":[{"line_number":10,"context_line":"          sudo cp ~root/.ssh/id_rsa.pub ~root/.ssh/id_rsa ~stack/.ssh"},{"line_number":11,"context_line":"          sudo chmod 700 ~stack/.ssh"},{"line_number":12,"context_line":"          sudo chown -R stack ~stack"},{"line_number":13,"context_line":"        executable: /bin/bash"}],"source_content_type":"text/x-yaml","patch_set":37,"id":"3f79a3b5_006c47cd","line":13,"updated":"2018-11-20 10:42:41.000000000","message":"++","commit_id":"c67b46e3507bf3ca916437b0e7f50521d70f6b02"},{"author":{"_account_id":24245,"name":"Harald Jensås","email":"hjensas@redhat.com","username":"harald.jensas"},"change_message_id":"ba5b3e99842e2269ebf42928c4611373c0c9205d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"- hosts: all"},{"line_number":2,"context_line":"  name: Copy ssh keys from too ~stack"},{"line_number":3,"context_line":"  tasks:"},{"line_number":4,"context_line":"    - shell:"},{"line_number":5,"context_line":"        cmd: |"},{"line_number":6,"context_line":"          set -e"},{"line_number":7,"context_line":"          set -x"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"          sudo mkdir -p ~stack/.ssh"},{"line_number":10,"context_line":"          sudo cp ~root/.ssh/id_rsa.pub ~root/.ssh/id_rsa ~stack/.ssh"},{"line_number":11,"context_line":"          sudo chmod 700 ~stack/.ssh"},{"line_number":12,"context_line":"          sudo chown -R stack ~stack"},{"line_number":13,"context_line":"        executable: /bin/bash"}],"source_content_type":"text/x-yaml","patch_set":37,"id":"3f79a3b5_7a2934a0","line":13,"range":{"start_line":4,"start_character":4,"end_line":13,"end_character":29},"updated":"2018-11-19 20:41:18.000000000","message":"nit, would it make sense to do this using the ansible file module instead?","commit_id":"c67b46e3507bf3ca916437b0e7f50521d70f6b02"},{"author":{"_account_id":1926,"name":"Derek Higgins","email":"derekh@redhat.com","username":"derekh"},"change_message_id":"ccf90fdd8fddec5d199c0f046df59c0fb01fecd1","unresolved":false,"context_lines":[{"line_number":10,"context_line":"          sudo cp ~root/.ssh/id_rsa.pub ~root/.ssh/id_rsa ~stack/.ssh"},{"line_number":11,"context_line":"          sudo chmod 700 ~stack/.ssh"},{"line_number":12,"context_line":"          sudo chown -R stack ~stack"},{"line_number":13,"context_line":"        executable: /bin/bash"}],"source_content_type":"text/x-yaml","patch_set":37,"id":"3f79a3b5_5241aea6","line":13,"in_reply_to":"3f79a3b5_006c47cd","updated":"2018-11-20 15:13:57.000000000","message":"copy:remote_src doesn\u0027t support recursive.\nI was trying to keep it more compact, I think I\u0027d need 2 separate copy tasks and another task to create the .ssh directory.","commit_id":"c67b46e3507bf3ca916437b0e7f50521d70f6b02"},{"author":{"_account_id":24245,"name":"Harald Jensås","email":"hjensas@redhat.com","username":"harald.jensas"},"change_message_id":"28b472f76644c887bea583ea32acb5e19813637e","unresolved":false,"context_lines":[{"line_number":10,"context_line":"          sudo cp ~root/.ssh/id_rsa.pub ~root/.ssh/id_rsa ~stack/.ssh"},{"line_number":11,"context_line":"          sudo chmod 700 ~stack/.ssh"},{"line_number":12,"context_line":"          sudo chown -R stack ~stack"},{"line_number":13,"context_line":"        executable: /bin/bash"}],"source_content_type":"text/x-yaml","patch_set":37,"id":"3f79a3b5_5841cfa6","line":13,"in_reply_to":"3f79a3b5_5241aea6","updated":"2018-11-20 16:48:22.000000000","message":"Yes, ansible would be more text, you could use a loop to copy both files in one task. Something like this:\n\ntasks:\n  - file:\n      dest: ~stack/.ssh\n      state: directory\n      mode: 0700\n      owner: stack\n      group: stack\n    become: true\n  - file:\n      src: ~/root/.ssh/{{ item }}\n      dest: ~stack/.ssh/{{ item }}\n      mode: 0600\n      owner: stack\n      group: stack\n    loop:\n      - id_rsa\n      - id_rsa.pub\n    become: true\n\ntbh, bash is more simple and just as readable in this case.","commit_id":"c67b46e3507bf3ca916437b0e7f50521d70f6b02"}],"zuul.d/ironic-jobs.yaml":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"698a76e19f54a7b486ffc824445bd327507a9ad7","unresolved":false,"context_lines":[{"line_number":312,"context_line":"        USE_PYTHON3: True"},{"line_number":313,"context_line":""},{"line_number":314,"context_line":"- job:"},{"line_number":315,"context_line":"    name: ironic-tempest-dsvm-ipa-wholedisk-agent_ipmitool-tinyipa-multinode"},{"line_number":316,"context_line":"    description: ironic-tempest-dsvm-ipa-wholedisk-agent_ipmitool-tinyipa-multinode"},{"line_number":317,"context_line":"    parent: tempest-multinode-full"},{"line_number":318,"context_line":"    timeout: 10800"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"3f79a3b5_58bc6f05","line":315,"range":{"start_line":315,"start_character":44,"end_line":315,"end_character":58},"updated":"2018-09-27 20:42:40.000000000","message":"Can we rename this? \u0027direct\u0027","commit_id":"b222e95c7454227148d6114ddc11117c7eff3d6c"}],"zuul.d/project.yaml":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"1f978a3e904d51d728d7c7534d46af952b69ad13","unresolved":false,"context_lines":[{"line_number":19,"context_line":"        - ironic-tempest-dsvm-ipa-partition-pxe_ipmitool-tinyipa-python3"},{"line_number":20,"context_line":"        - ironic-tempest-dsvm-ipa-partition-redfish-tinyipa"},{"line_number":21,"context_line":"        - ironic-tempest-dsvm-ipa-partition-uefi-pxe_ipmitool-tinyipa"},{"line_number":22,"context_line":"        - ironic-tempest-dsvm-ipa-wholedisk-direct-tinyipa-multinode"},{"line_number":23,"context_line":"        - ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa"},{"line_number":24,"context_line":"        - ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa-indirect"},{"line_number":25,"context_line":"        - ironic-tempest-dsvm-ipa-partition-bios-agent_ipmitool-tinyipa-indirect"}],"source_content_type":"text/x-yaml","patch_set":37,"id":"3f79a3b5_8a955be4","line":22,"updated":"2018-11-27 23:19:30.000000000","message":"Thanks for fixing the name!","commit_id":"c67b46e3507bf3ca916437b0e7f50521d70f6b02"}]}
