{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/1757","repository_url":"https://api.github.com/repos/openshift/openshift-ansible","labels_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/1757/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/1757/comments","events_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/1757/events","html_url":"https://github.com/openshift/openshift-ansible/issues/1757","id":148704899,"number":1757,"title":"bad parsing data in /etc/sysconfig/docker","user":{"login":"bigsow","id":18486836,"avatar_url":"https://avatars.githubusercontent.com/u/18486836?v=3","gravatar_id":"","url":"https://api.github.com/users/bigsow","html_url":"https://github.com/bigsow","followers_url":"https://api.github.com/users/bigsow/followers","following_url":"https://api.github.com/users/bigsow/following{/other_user}","gists_url":"https://api.github.com/users/bigsow/gists{/gist_id}","starred_url":"https://api.github.com/users/bigsow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigsow/subscriptions","organizations_url":"https://api.github.com/users/bigsow/orgs","repos_url":"https://api.github.com/users/bigsow/repos","events_url":"https://api.github.com/users/bigsow/events{/privacy}","received_events_url":"https://api.github.com/users/bigsow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-15T16:21:26Z","updated_at":"2016-04-15T17:24:05Z","closed_at":null,"body":"ansible 1.9.5\r\nDuring installation OSE via /usr/share/ansible/openshift-ansible/playbooks/byo/config.yml, I got:\r\n`NOTIFIED: [openshift_docker | restart openshift_docker] *********************** failed: \r\n[servername] => {\"failed\": true} msg: Job for docker.service failed because the control process exited with error code. See \"systemctl status docker.service\" and \"journalctl -xe\" for details. `\r\n\r\nI found that is problem during parsing,\r\nAnsible modified /etc/sysconfig/docker file at line 4 to:\r\n`OPTIONS='--insecure-registry=172.30.0.0/16 --selinux-enabled {# openshift_docker_options | default('',True) #}'`\r\nand Docker service start failed,\r\n\r\nwhen I had changed above line to\r\n`OPTIONS='--insecure-registry=172.30.0.0/16 --selinux-enabled`\r\nDocker service starded perfectly.\r\n\r\nSo I had changed problematic line 4 and after I ran Ansible again by command:\r\n`ansible-playbook -i hosts /usr/share/ansible/openshift-ansible/playbooks/byo/config.yml,`\r\nAnsible playbook modified /etc/sysconfig/docker again, to value:\r\n`OPTIONS='--insecure-registry=172.30.0.0/16 --selinux-enabled {# openshift_docker_options | default('',True) #}'`\r\nand the Docker service start failed again :(,\r\n\r\nI know that my problem is from OSE, but mabye you have any solution, how to investigate problem with bad parsing,\r\nI remember that when I tried to install OSE from opensift-ansible gir repo, I got problem with /etc/origin/node/node-config.yaml\r\nat the end of line 4 (whole line below)\r\n`dnsIP: {# openshift_dns_ip | default(openshift_master_cluster_vip | default(None if openshift.common.version_gte_3_1_or_1_1 | bool else openshift_node_first_master_ip | default(None, true), true), true) #} is \"#}\" ?`\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/openshift-ansible/issues/comments/210553964","html_url":"https://github.com/openshift/openshift-ansible/issues/1757#issuecomment-210553964","issue_url":"https://api.github.com/repos/openshift/openshift-ansible/issues/1757","id":210553964,"user":{"login":"abutcher","id":47003,"avatar_url":"https://avatars.githubusercontent.com/u/47003?v=3","gravatar_id":"","url":"https://api.github.com/users/abutcher","html_url":"https://github.com/abutcher","followers_url":"https://api.github.com/users/abutcher/followers","following_url":"https://api.github.com/users/abutcher/following{/other_user}","gists_url":"https://api.github.com/users/abutcher/gists{/gist_id}","starred_url":"https://api.github.com/users/abutcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abutcher/subscriptions","organizations_url":"https://api.github.com/users/abutcher/orgs","repos_url":"https://api.github.com/users/abutcher/repos","events_url":"https://api.github.com/users/abutcher/events{/privacy}","received_events_url":"https://api.github.com/users/abutcher/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T17:24:05Z","updated_at":"2016-04-15T17:24:05Z","body":"@bigsow also, what versions of python and python-jinja2 are you using?"}}