{"action":"opened","issue":{"url":"https://api.github.com/repos/debops/ansible-dhparam/issues/4","repository_url":"https://api.github.com/repos/debops/ansible-dhparam","labels_url":"https://api.github.com/repos/debops/ansible-dhparam/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/debops/ansible-dhparam/issues/4/comments","events_url":"https://api.github.com/repos/debops/ansible-dhparam/issues/4/events","html_url":"https://github.com/debops/ansible-dhparam/issues/4","id":135265608,"number":4,"title":"debops.dhparam aborts with \"src file does not exist\"","user":{"login":"ganto","id":1031031,"avatar_url":"https://avatars.githubusercontent.com/u/1031031?v=3","gravatar_id":"","url":"https://api.github.com/users/ganto","html_url":"https://github.com/ganto","followers_url":"https://api.github.com/users/ganto/followers","following_url":"https://api.github.com/users/ganto/following{/other_user}","gists_url":"https://api.github.com/users/ganto/gists{/gist_id}","starred_url":"https://api.github.com/users/ganto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganto/subscriptions","organizations_url":"https://api.github.com/users/ganto/orgs","repos_url":"https://api.github.com/users/ganto/repos","events_url":"https://api.github.com/users/ganto/events{/privacy}","received_events_url":"https://api.github.com/users/ganto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-21T22:00:05Z","updated_at":"2016-02-21T22:00:05Z","closed_at":null,"body":"When running the [debops-bootstrap](https://github.com/debops/examples/tree/master/debops-bootstrap) example with the latest Ansible (2.1.0-0.git201602202224.f8211f8.devel~unstable) and `dhparam_bits = [ '1024' ]` I hit the following error:\r\n\r\n```\r\n[...]\r\nTASK [debops.dhparam : Preseed Diffie-Hellman parameters] **********************\r\nok: [master] => (item=0)\r\n\r\nTASK [debops.dhparam : Create default symlinks for all sets] *******************\r\nfailed: [master] => (item=0) => {\"failed\": true, \"item\": \"0\", \"msg\": \"src file does not exist, use \\\"force=yes\\\" if you really want to create the link: /etc/pki/dhparam/params/set0/dh1024.pem\", \"path\": \"/etc/pki/dhparam/set0\", \"src\": \"params/set0/dh1024.pem\", \"state\": \"absent\"}\r\n```\r\n\r\nEven the previous step finished successful, the file which should have been copied was missing.\r\n\r\n@drybjed pointed me into the right direction and doubted the unstable Ansible version. He was right, **when running with Ansible 2.0.0.2-0.git201601142217.7de237c.HEAD~unstable the dhparam file is copied and the role completes successfully**."}}