[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debconf-video] testing ansible playbook - containers?



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 <carl@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

Reply to: