{"action":"created","issue":{"url":"https://api.github.com/repos/ployground/ploy_ansible/issues/19","repository_url":"https://api.github.com/repos/ployground/ploy_ansible","labels_url":"https://api.github.com/repos/ployground/ploy_ansible/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/ployground/ploy_ansible/issues/19/comments","events_url":"https://api.github.com/repos/ployground/ploy_ansible/issues/19/events","html_url":"https://github.com/ployground/ploy_ansible/issues/19","id":213562528,"number":19,"title":"once playbooks are used, we can't override configurations","user":{"login":"igalic","id":497249,"avatar_url":"https://avatars2.githubusercontent.com/u/497249?v=3","gravatar_id":"","url":"https://api.github.com/users/igalic","html_url":"https://github.com/igalic","followers_url":"https://api.github.com/users/igalic/followers","following_url":"https://api.github.com/users/igalic/following{/other_user}","gists_url":"https://api.github.com/users/igalic/gists{/gist_id}","starred_url":"https://api.github.com/users/igalic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igalic/subscriptions","organizations_url":"https://api.github.com/users/igalic/orgs","repos_url":"https://api.github.com/users/igalic/repos","events_url":"https://api.github.com/users/igalic/events{/privacy}","received_events_url":"https://api.github.com/users/igalic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-03-11T22:01:14Z","updated_at":"2017-03-14T10:59:52Z","closed_at":null,"body":"my config right now looks like. in `etc/ploy.conf` i have:\r\n\r\n```\r\n[ansible]\r\nansible-become = yes\r\nansible-become-method = sudo\r\nbecome = yes\r\nbecome-method = sudo\r\n\r\n[plain-instance:meenix]\r\nhost = meenix\r\n\r\n[ez-master:jailhost]\r\ninstance = meenix\r\nuser = freebsd\r\nsudo = yes\r\nbootstrap-fingerprint = 24:d0:a1:37:38:88:5e:ac:c0:e7:bf:31:40:75:63:0f\r\nploy_ezjail_install_release = 11.0-RELEASE\r\n```\r\n\r\nMy `jailhost.yml` looks equally desperate:\r\n```yaml\r\n---\r\n\r\n- hosts: jailhost\r\n  user: freebsd\r\n  sudo: yes\r\n  roles:\r\n    - dhcp_host\r\n    - jails_host\r\n\r\n  tasks:\r\n    - name: ensure ZFS file systems are in place\r\n      zfs: name={{ item }} state=present mountpoint=/{{ item }}\r\n      with_items:\r\n      - tank/www.devops.reise\r\n      - tank/www.eena.me\r\n      tags: zfs-layout\r\n```\r\n\r\nit doesn't matter what i try, as soon as i start using playbooks, i get this error when installing `ezjail`:\r\n\r\n```\r\n(bsdploy)  bsdploy  ~/s/m/meenix  ploy configure jailhost \r\nINFO: Using playbook at '/home/igalic/src/me/meenix/jailhost.yml'.\r\n\r\nPLAY [jailhost] *************************************************************** \r\n\r\nGATHERING FACTS *************************************************************** \r\nok: [jailhost]\r\n\r\nTASK: [dhcp_host | Create dhclient-exit-hooks] ******************************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | bind host sshd to primary ip] ***************************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Enable ntpd in rc.conf] *********************************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Disable public use of ntpd] ******************************* \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Check for old ipnat_rules setting] ************************ \r\nskipping: [jailhost]\r\n\r\nTASK: [jails_host | Remove ipfilter from rc.conf] ***************************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Remove ipfilter_rules from rc.conf] *********************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Remove ipmon from rc.conf] ******************************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Remove ipmon_flags from rc.conf] ************************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Remove ipnat from rc.conf] ******************************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Remove ipnat_rules from rc.conf] ************************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Enable pf in rc.conf] ************************************* \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Check for /etc/pf.conf] *********************************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Default pf.conf] ****************************************** \r\nskipping: [jailhost]\r\n\r\nTASK: [jails_host | Stat of /dev/pf] ****************************************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Checking pf] ********************************************** \r\nskipping: [jailhost]\r\n\r\nTASK: [jails_host | Setup pf.conf] ******************************************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Reload pf.conf] ******************************************* \r\nskipping: [jailhost]\r\n\r\nTASK: [jails_host | Enable gateway in rc.conf] ******************************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Setup cloned interfaces] ********************************** \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Enable security.jail.allow_raw_sockets] ******************* \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Enable security.jail.sysvipc_allowed] ********************* \r\nok: [jailhost]\r\n\r\nTASK: [jails_host | Ensure helper packages are installed (using http proxy)] *** \r\nskipping: [jailhost]\r\n\r\nTASK: [jails_host | Ensure helper packages are installed] ********************* \r\nfailed: [jailhost] => (item=ezjail) => {\"failed\": true, \"item\": \"ezjail\"}\r\nmsg: Could not update catalogue\r\n\r\nFATAL: all hosts have already failed -- aborting\r\n(bsdploy)  bsdploy  ~/s/m/meenix \r\n```\r\n\r\neven tho `ezjail` is already installed:\r\n\r\n```\r\nroot@meenix:~ # pkg info ezjail\r\nezjail-3.4.2\r\nName           : ezjail\r\nVersion        : 3.4.2\r\nInstalled on   : Fri Mar 10 20:16:05 2017 UTC\r\nOrigin         : sysutils/ezjail\r\nArchitecture   : freebsd:11:x86:64\r\nPrefix         : /usr/local\r\nCategories     : sysutils\r\nLicenses       : \r\nMaintainer     : erdgeist@erdgeist.org\r\nWWW            : http://erdgeist.org/arts/software/ezjail/\r\nComment        : Framework to easily create, manipulate, and run FreeBSD jails\r\nAnnotations    :\r\n        repo_type      : binary\r\n        repository     : FreeBSD\r\nFlat size      : 118KiB\r\nDescription    :\r\nThis port contains two scripts to easily create, manipulate and run\r\nFreeBSD jails.\r\n\r\nWWW: http://erdgeist.org/arts/software/ezjail/\r\nroot@meenix:~ # \r\n```"},"comment":{"url":"https://api.github.com/repos/ployground/ploy_ansible/issues/comments/286388083","html_url":"https://github.com/ployground/ploy_ansible/issues/19#issuecomment-286388083","issue_url":"https://api.github.com/repos/ployground/ploy_ansible/issues/19","id":286388083,"user":{"login":"igalic","id":497249,"avatar_url":"https://avatars2.githubusercontent.com/u/497249?v=3","gravatar_id":"","url":"https://api.github.com/users/igalic","html_url":"https://github.com/igalic","followers_url":"https://api.github.com/users/igalic/followers","following_url":"https://api.github.com/users/igalic/following{/other_user}","gists_url":"https://api.github.com/users/igalic/gists{/gist_id}","starred_url":"https://api.github.com/users/igalic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igalic/subscriptions","organizations_url":"https://api.github.com/users/igalic/orgs","repos_url":"https://api.github.com/users/igalic/repos","events_url":"https://api.github.com/users/igalic/events{/privacy}","received_events_url":"https://api.github.com/users/igalic/received_events","type":"User","site_admin":false},"created_at":"2017-03-14T10:59:52Z","updated_at":"2017-03-14T10:59:52Z","body":"this jail had been created with `ploy start`\r\nbut it didn't have python installed, or a default router in place, for that matter, and only `8.8.8.8` in `resolv.conf`. so the only thing that seems to have worked properly was setting the ip, hostname and the ssh keys\r\n\r\n\r\nbtw, sorry for dragging this issue out so much, usually i would have seemed help in irc, but, the freebsd boxes im fiddling with used to run my irc server."}}
{"actor":{"display_login":"igalic"}}