From d4718b26e6f7e83b2c61f0e217a18c90dafd0a48 Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Tue, 7 Mar 2017 08:13:44 -0500 Subject: [PATCH 1/2] Add docker and 1604 image to config --- .../default/virtualbox/action_provision | 1 + .../default/virtualbox/action_set_name | 1 + .../machines/default/virtualbox/creator_uid | 1 + .../.vagrant/machines/default/virtualbox/id | 1 + .../machines/default/virtualbox/index_uuid | 1 + .../machines/default/virtualbox/private_key | 27 +++++++++++++++++++ .../inventory/vagrant_ansible_inventory | 3 +++ ahoskingit/docker/Vagrantfile | 20 ++++++++++++++ 8 files changed, 55 insertions(+) create mode 100644 ahoskingit/docker/.vagrant/machines/default/virtualbox/action_provision create mode 100644 ahoskingit/docker/.vagrant/machines/default/virtualbox/action_set_name create mode 100644 ahoskingit/docker/.vagrant/machines/default/virtualbox/creator_uid create mode 100644 ahoskingit/docker/.vagrant/machines/default/virtualbox/id create mode 100644 ahoskingit/docker/.vagrant/machines/default/virtualbox/index_uuid create mode 100644 ahoskingit/docker/.vagrant/machines/default/virtualbox/private_key create mode 100644 ahoskingit/docker/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory create mode 100644 ahoskingit/docker/Vagrantfile diff --git a/ahoskingit/docker/.vagrant/machines/default/virtualbox/action_provision b/ahoskingit/docker/.vagrant/machines/default/virtualbox/action_provision new file mode 100644 index 0000000..524cecd --- /dev/null +++ b/ahoskingit/docker/.vagrant/machines/default/virtualbox/action_provision @@ -0,0 +1 @@ +1.5:aa2a4c67-c250-4d9a-9181-8f6031f92635 \ No newline at end of file diff --git a/ahoskingit/docker/.vagrant/machines/default/virtualbox/action_set_name b/ahoskingit/docker/.vagrant/machines/default/virtualbox/action_set_name new file mode 100644 index 0000000..2cbbbaf --- /dev/null +++ b/ahoskingit/docker/.vagrant/machines/default/virtualbox/action_set_name @@ -0,0 +1 @@ +1488743499 \ No newline at end of file diff --git a/ahoskingit/docker/.vagrant/machines/default/virtualbox/creator_uid b/ahoskingit/docker/.vagrant/machines/default/virtualbox/creator_uid new file mode 100644 index 0000000..e37d32a --- /dev/null +++ b/ahoskingit/docker/.vagrant/machines/default/virtualbox/creator_uid @@ -0,0 +1 @@ +1000 \ No newline at end of file diff --git a/ahoskingit/docker/.vagrant/machines/default/virtualbox/id b/ahoskingit/docker/.vagrant/machines/default/virtualbox/id new file mode 100644 index 0000000..cccdf7a --- /dev/null +++ b/ahoskingit/docker/.vagrant/machines/default/virtualbox/id @@ -0,0 +1 @@ +aa2a4c67-c250-4d9a-9181-8f6031f92635 \ No newline at end of file diff --git a/ahoskingit/docker/.vagrant/machines/default/virtualbox/index_uuid b/ahoskingit/docker/.vagrant/machines/default/virtualbox/index_uuid new file mode 100644 index 0000000..22a671d --- /dev/null +++ b/ahoskingit/docker/.vagrant/machines/default/virtualbox/index_uuid @@ -0,0 +1 @@ +cf1a878aa7a0436fa8e1152ac4531c64 \ No newline at end of file diff --git a/ahoskingit/docker/.vagrant/machines/default/virtualbox/private_key b/ahoskingit/docker/.vagrant/machines/default/virtualbox/private_key new file mode 100644 index 0000000..8b54a76 --- /dev/null +++ b/ahoskingit/docker/.vagrant/machines/default/virtualbox/private_key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpgIBAAKCAQEA9+ZDsLIatds5HRusRGHYAQOtBDObqZr4BL3SQXDf5W3vhRHx +lae276YhYHj3/V9pCmYRmdya48xJnhVAD1vqgy2wYCZX0alEkJdz6hTlWQaNt6jK +xowzHWEw5bjVsjD8H3yOMyTcAMRxYsvzRqcvz8DB0/ZAYQuxoVqyHo69/cMnto1T +m/aoufB6MC1TJ6xQqN57JMDhg/8a/tEIpZkdsEePY/vtCBuNYM7/zPy+bdEGE8gb +ACyXpAdDMfu+EQzBUYQg8fE4kYAFDMkNc29VUo4SHLUX8qreo4F6w9eKdFmbt9V2 +QtVQO9zp/dpp/hcD5Iz+tyLQGdLa9iTpSLaVwQIDAQABAoIBAQCykYOg/CqRZOC3 +Pv/QIk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Un1SFSQ74rtRCgXFmCFL7O8 +jVQhRRermNAtlhERf4454lPbqkT8dwRL2mOn1JxV2zUPaOPkZ4hDj3XUa15Cdh3J +O6HfJTov/jv+0xHjv+o7m+R5DcMu2BzQ+t74kDI5t4nqnTaJU6jb7O/i +-----END RSA PRIVATE KEY----- diff --git a/ahoskingit/docker/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory b/ahoskingit/docker/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory new file mode 100644 index 0000000..de7b7ed --- /dev/null +++ b/ahoskingit/docker/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory @@ -0,0 +1,3 @@ +# Generated by Vagrant + +default ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_user='vagrant' ansible_ssh_private_key_file='/home/ahosking/projects/ahoskingit/depos/orchestration.vagrants/ahoskingit/docker/.vagrant/machines/default/virtualbox/private_key' diff --git a/ahoskingit/docker/Vagrantfile b/ahoskingit/docker/Vagrantfile new file mode 100644 index 0000000..01b9e7f --- /dev/null +++ b/ahoskingit/docker/Vagrantfile @@ -0,0 +1,20 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! +VAGRANTFILE_API_VERSION = "2" + +Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| + + config.vm.box = "boxcutter/ubuntu1604" + config.vm.hostname = "docker" + playbook = 'docker' + client = 'ahoskingit' + + config.vm.provider :virtualbox do |vb| + vb.customize ['modifyvm', :id, '--memory', '1024'] + end + + eval(IO.read("../../vagrant.mixin.rb"), binding) + +end From dfcfe37cf523476c0bd27c2a0d6e75ab9189654d Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Tue, 7 Mar 2017 08:18:30 -0500 Subject: [PATCH 2/2] Update config file with docker and proper xenial --- ahoskingit/config.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ahoskingit/config.yaml b/ahoskingit/config.yaml index 8beb466..bcdcfcf 100644 --- a/ahoskingit/config.yaml +++ b/ahoskingit/config.yaml @@ -1,7 +1,8 @@ --- vagrants: "ubuntu/trusty64": "ubuntu/trusty64" - "ubuntu/xenial64": "ubuntu/xenial64" - + "boxcutter/ubuntu1604": "boxcutter/ubuntu1604" + hosts: + docker: 10.200.200.20 nextcloud: 10.200.200.2