{"action":"opened","issue":{"url":"https://api.github.com/repos/shadow-robot/sr-build-tools/issues/342","repository_url":"https://api.github.com/repos/shadow-robot/sr-build-tools","labels_url":"https://api.github.com/repos/shadow-robot/sr-build-tools/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/shadow-robot/sr-build-tools/issues/342/comments","events_url":"https://api.github.com/repos/shadow-robot/sr-build-tools/issues/342/events","html_url":"https://github.com/shadow-robot/sr-build-tools/issues/342","id":212754867,"number":342,"title":"Default deployment script bug \" 'config_branch' is undefined\"","user":{"login":"AndriyPt","id":10820297,"avatar_url":"https://avatars3.githubusercontent.com/u/10820297?v=3","gravatar_id":"","url":"https://api.github.com/users/AndriyPt","html_url":"https://github.com/AndriyPt","followers_url":"https://api.github.com/users/AndriyPt/followers","following_url":"https://api.github.com/users/AndriyPt/following{/other_user}","gists_url":"https://api.github.com/users/AndriyPt/gists{/gist_id}","starred_url":"https://api.github.com/users/AndriyPt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndriyPt/subscriptions","organizations_url":"https://api.github.com/users/AndriyPt/orgs","repos_url":"https://api.github.com/users/AndriyPt/repos","events_url":"https://api.github.com/users/AndriyPt/events{/privacy}","received_events_url":"https://api.github.com/users/AndriyPt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-08T14:49:29Z","updated_at":"2017-03-08T14:49:29Z","closed_at":null,"body":"Error \" 'config_branch' is undefined \" is appearing in case if rosintall file contains dependency on sr_config.\r\nIn case if such dependency is not present script is working fine.\r\nThis is due dev_machine role logic which need to be addressed\r\n```bash\r\nTASK [dev_machine : Check if sr-config is installed] ***************************\r\ntask path: /tmp/sr-build-tools/ansible/roles/dev_machine/tasks/main.yml:3\r\n<localhost> ESTABLISH LOCAL CONNECTION FOR USER: user\r\n<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p \"` echo $HOME/.ansible/tmp/ansible-tmp-1488972343.07-220147347844822 `\" && echo ansible-tmp-1488972343.07-220147347844822=\"` echo $HOME/.ansible/tmp/ansible-tmp-1488972343.07-220147347844822 `\" ) && sleep 0'\r\n<localhost> PUT /tmp/tmpcmEwGA TO /home/user/.ansible/tmp/ansible-tmp-1488972343.07-220147347844822/stat\r\n<localhost> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /home/user/.ansible/tmp/ansible-tmp-1488972343.07-220147347844822/stat; rm -rf \"/home/user/.ansible/tmp/ansible-tmp-1488972343.07-220147347844822/\" > /dev/null 2>&1 && sleep 0'\r\nok: [localhost] =>   invocation => {u'module_name': u'stat', u'module_args': {u'checksum_algorithm': u'sha1', u'mime': False, u'get_checksum': True, u'follow': False, u'path': u'/home/user/projects/shadow_robot/base/src/sr_config', u'get_md5': True}}\r\n  stat => {u'uid': 1000, u'exists': True, u'woth': False, u'isreg': False, u'mtime': 1488971104.6180336, u'inode': 49435, u'isgid': False, u'size': 4096, u'wgrp': False, u'isuid': False, u'gid': 1000, u'pw_name': u'user', u'ischr': False, u'wusr': True, u'xoth': True, u'rusr': True, u'nlink': 7, u'issock': False, u'rgrp': True, u'gr_name': u'user', u'path': u'/home/user/projects/shadow_robot/base/src/sr_config', u'xusr': True, u'atime': 1488971517.3460264, u'isdir': True, u'ctime': 1488971104.6180336, u'isblk': False, u'xgrp': True, u'dev': 43, u'roth': True, u'isfifo': False, u'mode': u'0755', u'islnk': False}\r\n  changed => False\r\n\r\n\r\nTASK [dev_machine : Checkout or create the config branch] **********************\r\ntask path: /tmp/sr-build-tools/ansible/roles/dev_machine/tasks/main.yml:7\r\nfatal: [localhost]: FAILED! =>   msg => 'config_branch' is undefined\r\n  failed => True\r\n```\r\n"}}
{"actor":{"display_login":"AndriyPt"}}