)]}'
{"ansible/roles/baremetal/tasks/pre-install.yml":[{"author":{"_account_id":7488,"name":"Jeffrey Zhang","email":"zhang.lei.fly@gmail.com","username":"Jeffrey4l"},"change_message_id":"1f7f4e1dab010b3874e71dbbffcf29035b3dc73e","unresolved":false,"context_lines":[{"line_number":2,"context_line":"# NOTE: raw install is required to support cloud images which do not have python installed"},{"line_number":3,"context_line":"- name: \"install python2 and python-simplejson\""},{"line_number":4,"context_line":"  become: true"},{"line_number":5,"context_line":"  raw: \"yum install -y python python-simplejson || (apt-get update \u0026\u0026 apt-get install -y python2.7 python-simplejson)\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- name: gather facts"},{"line_number":8,"context_line":"  setup:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"fa7ab95a_25e87116","line":5,"updated":"2016-08-31 13:25:37.000000000","message":"this task is not idempotent. should we fix this too?","commit_id":"143f1c2d9a9bca7b4de4fc0309d73c9c8c8ebd21"},{"author":{"_account_id":22582,"name":"Duong Ha-Quang","email":"quangduongha@gmail.com","username":"duonghq"},"change_message_id":"ca738dd65f2b8d78541e0ef7434ebbfc63ad5d84","unresolved":false,"context_lines":[{"line_number":2,"context_line":"# NOTE: raw install is required to support cloud images which do not have python installed"},{"line_number":3,"context_line":"- name: \"install python2 and python-simplejson\""},{"line_number":4,"context_line":"  become: true"},{"line_number":5,"context_line":"  raw: \"yum install -y python python-simplejson || (apt-get update \u0026\u0026 apt-get install -y python2.7 python-simplejson)\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- name: gather facts"},{"line_number":8,"context_line":"  setup:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"fa7ab95a_3b7df4e7","line":5,"in_reply_to":"fa7ab95a_25e87116","updated":"2016-08-31 13:58:05.000000000","message":"The whole playbook is intended run only once to init fresh node, so I think it does not matter? Just IMO","commit_id":"143f1c2d9a9bca7b4de4fc0309d73c9c8c8ebd21"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"2f7caabe0557e22bbf3e171ee265a92cb50cf070","unresolved":false,"context_lines":[{"line_number":2,"context_line":"# NOTE: raw install is required to support cloud images which do not have python installed"},{"line_number":3,"context_line":"- name: \"install python2 and python-simplejson\""},{"line_number":4,"context_line":"  become: true"},{"line_number":5,"context_line":"  raw: \"yum install -y python python-simplejson || (apt-get update \u0026\u0026 apt-get install -y python2.7 python-simplejson)\""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- name: gather facts"},{"line_number":8,"context_line":"  setup:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"fa7ab95a_5435f3d8","line":5,"in_reply_to":"fa7ab95a_3b7df4e7","updated":"2016-09-01 08:41:35.000000000","message":"i have run the playbook several tims on the same host and it does not break anything. this command can also be run multiple times without changing the end result. e.g. python and python-simplejson will be installed with the latest version available.","commit_id":"143f1c2d9a9bca7b4de4fc0309d73c9c8c8ebd21"}]}
