)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"5a38b2bbf50b5ce56a5d79bd00e3252c5861de90","unresolved":true,"context_lines":[{"line_number":3,"context_line":"AuthorDate: 2021-04-21 14:38:47 +0000"},{"line_number":4,"context_line":"Commit:     Jonathan Rosser \u003cjonathan.rosser@rd.bbc.co.uk\u003e"},{"line_number":5,"context_line":"CommitDate: 2021-05-05 11:24:56 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"WIP - create certificate authorities"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I8967b682a587eccc64c422861abc731acb874ddf"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3b6b3901_484fe2fb","line":7,"range":{"start_line":6,"start_character":0,"end_line":7,"end_character":5},"updated":"2021-05-11 14:29:38.000000000","message":"let\u0027s remove WIP?","commit_id":"0fe56f2a1014c5176d3909eea82a2b875c0cbb42"}],"tasks/standalone/create_ca.yml":[{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"b52793fe8057e0f5937334f13d9707b45b684780","unresolved":true,"context_lines":[{"line_number":14,"context_line":"    - path: \"{{ ca_dir ~ \u0027/certs\u0027 }}\""},{"line_number":15,"context_line":"      mode: \"0444\""},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"- name: Initialise the serial number for {{ ca.name }}"},{"line_number":18,"context_line":"  shell:"},{"line_number":19,"context_line":"    chdir: \"{{ ca_dir }}\""},{"line_number":20,"context_line":"    cmd: \"echo 999 \u003e serial\""},{"line_number":21,"context_line":"    creates: \"{{ ca_dir ~ \u0027/serial\u0027 }}\""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"- name: Generate CA private key for {{ ca.name }}"},{"line_number":24,"context_line":"  openssl_privatekey:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"d683cb48_2096e40e","line":21,"range":{"start_line":17,"start_character":0,"end_line":21,"end_character":39},"updated":"2021-04-29 16:12:13.000000000","message":"I think we can use:\n\n  copy:\n    content: 999\n    dest: \"{{ ca_dir }}/serial\"\n\n\nShould we also delegate this to localhost? Or why we do local lookup next? and write the same file new incremented serial but with copy?","commit_id":"2bf5964cc91f30d65801886300735b4684fed223"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"bc9f1dc7e631b4a58d2804afd11750c94b35d2c3","unresolved":true,"context_lines":[{"line_number":14,"context_line":"    - path: \"{{ ca_dir ~ \u0027/certs\u0027 }}\""},{"line_number":15,"context_line":"      mode: \"0444\""},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"- name: Initialise the serial number for {{ ca.name }}"},{"line_number":18,"context_line":"  shell:"},{"line_number":19,"context_line":"    chdir: \"{{ ca_dir }}\""},{"line_number":20,"context_line":"    cmd: \"echo 999 \u003e serial\""},{"line_number":21,"context_line":"    creates: \"{{ ca_dir ~ \u0027/serial\u0027 }}\""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"- name: Generate CA private key for {{ ca.name }}"},{"line_number":24,"context_line":"  openssl_privatekey:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"72f12c17_941547f3","line":21,"range":{"start_line":17,"start_character":0,"end_line":21,"end_character":39},"in_reply_to":"d683cb48_2096e40e","updated":"2021-04-29 16:18:07.000000000","message":"Oh, we want to create file only if it does not exist?\nI think `force: no` in copy module will have same behaviour, doesn\u0027t it?","commit_id":"2bf5964cc91f30d65801886300735b4684fed223"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"b52793fe8057e0f5937334f13d9707b45b684780","unresolved":true,"context_lines":[{"line_number":62,"context_line":"    - ca_csr is changed"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"- name: Sign the intermediate CA CSR for {{ ca.name }}"},{"line_number":65,"context_line":"  vars:"},{"line_number":66,"context_line":"  openssl_certificate:"},{"line_number":67,"context_line":"    path: \"{{ ca_dir ~ \u0027/certs/\u0027 ~ ca.name ~ \u0027.crt\u0027 }}\""},{"line_number":68,"context_line":"    csr_path: \"{{ ca_csr.filename }}\""}],"source_content_type":"text/x-yaml","patch_set":2,"id":"c0f55e91_28a186bf","line":65,"range":{"start_line":65,"start_character":0,"end_line":65,"end_character":7},"updated":"2021-04-29 16:12:13.000000000","message":"Can be dropped?","commit_id":"2bf5964cc91f30d65801886300735b4684fed223"}]}
