bob5ec / docker-infrastructure

2 stars 0 forks source link

Define VMs from $env branch #5

Closed bob5ec closed 5 years ago

bob5ec commented 6 years ago

grep master de* hardware.yml roles/ test -r deploy/deploy-ansible.sh:#ansible-pull -U https://github.com/bob5ec/docker-infrastructure.git -C master default.yml deploy/deploy-ansible.sh:#ansible-pull -U https://github.com/bob5ec/docker-infrastructure.git -C master hardware.yml Binary file deploy/.deploy-ansible.sh.swp matches deploy/hardware.preseed:#d-i preseed/late_command string in-target wget -q -O - https://raw.githubusercontent.com/bob5ec/docker-infrastructure/master/deploy/deploy-ansible.sh | /bin/bash deploy/hardware.preseed:in-target wget -O /tmp/deploy-ansible.sh https://raw.githubusercontent.com/bob5ec/docker-infrastructure/master/deploy/deploy-ansible.sh ; \ deploy/vm.preseed:#d-i preseed/late_command string in-target wget -q -O - https://raw.githubusercontent.com/bob5ec/docker-infrastructure/master/deploy/deploy-ansible.sh | /bin/bash deploy/vm.preseed:in-target wget -O /tmp/deploy-ansible-vm.sh https://raw.githubusercontent.com/bob5ec/docker-infrastructure/master/deploy/deploy-ansible-vm.sh ; \ roles/hypervisor/tasks/main.yml: name: "register ansible-pull from branch master for the hardware playbook" roles/hypervisor/tasks/main.yml: job: "ansible-pull -U https://github.com/bob5ec/docker-infrastructure.git -C master -o hardware.yml 2&>1 | logger -t ansible-pull" Binary file roles/vms/files/convoy matches test/vm/install.sh: --extra-args 'console=ttyS0,115200n8 serial auto=true priority=critical preseed/url=https://raw.githubusercontent.com/bob5ec/docker-infrastructure/master/deploy/vm.preseed'

bob5ec commented 6 years ago

This would be nice for hardware as well.