AFAIK, the "setup_ansible.sh" script works fine (we tested it), it's the ansible calls that it runs that causes problems :D
As for the dhcp problem, your machine needs to be called "encodercube1" for the right ansible roles to be ran. This is specified in the "inventory/hosts" file. This file should be modified to represent your actual setup and is there only as an example. The important part of the ansible code we wrote is in the "roles" directory. You want to craft your "hosts" file to put your machines in the right groups (you can have a look at them in site.yml) -- pollo On 14/12/16 03:23 AM, Carl Karsten wrote: > I think I have something going using juju and > https://github.com/marcoceppi/charm-ubuntu/tree/carlfk > > I'll post instructions or something soon. > > basically, setup containers, stuff hostnames/IPs in /etc/hosts. > > ansible-playbook -u ubuntu -i inventory/hosts site.yml -b > > > I think I found the first bug: > TASK [dhcp-server : configure the dhcp server] > ********************************* > fatal: [encodercube1]: FAILED! => {"changed": true, "failed": true, "msg": > "Destination directory /etc/dnsmasq/dnsmasq.d does not exist"} > > I am guessing this is the problem: > > [dhcp-server] > encodercube1 > > https://anonscm.debian.org/git/debconf-video/ansible.git/tree/inventory/hosts#n11 > > > > > On Tue, Dec 13, 2016 at 3:07 PM, Carl Karsten <c...@personnelware.com> > wrote: >> >> At the last dc-video sprint this was put together: >> >> > https://anonscm.debian.org/git/debconf-video/ansible.git/tree/setup_ansible.sh#n20 >> >> but never tested, and something about "doesn't have the dynamic bits in > place" >> >> I would like to test it, but don't really want to setup a pile of > physical machines. >> >> my laptop only has 8gig, so I'm not sure it will handle enough VMs. (I > think on the order of 8-12 targets for 2 rooms, streaming, file server, > whatever.) >> >> I hear I might be able to use containers. I have looked into lxc/lxd and > docker/docker-compose ... it all looks promising, but I can't figure out > exactly what to really do. >> >> If someone can give me a script or whatever that will set up an > environment to test the playbook I'll test and log issues and all that. >> >> I don't expect to hook up any video hardware (hdmi2usb, cameras, bm > cards) or even run vocto. I just want to run ansible-playbook (probably > on my laptop) and look at the results (logs and config files) >> >> >> -- >> Carl K >> > > > > -- > Carl K > > > > _______________________________________________ > Debconf-video mailing list > Debconf-video@lists.debconf.org > http://lists.debconf.org/mailman/listinfo/debconf-video >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Debconf-video mailing list Debconf-video@lists.debconf.org http://lists.debconf.org/mailman/listinfo/debconf-video