Add Jinja2 template for systemd drop-in file to customize Docker daemon behavior. Edit Ansible playbook to support use of systemd drop-in files.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Update `machines.yml` to include a fourth Photon OS node to run the Swarm manager container; addresses an odd issue with running the Swarm and Swarm manager containers on the same host.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Update Vagrantfile, Ansible playbook (provision.yml), and machines.yml based on "plain" OVN learning environment
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Change servers.yml to machines.yml for consistency with other learning environments. Remove all references to personally-maintained base boxes.
Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
Make changes to remaining learning environments to remove references to personally-maintained boxes.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Add README.md with instructions on how to use the environment. Add final changes to the Vagrantfile and Ansible provisioning script. Add Jinja2 template for final setup script.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Remove references to personally-maintained Vagrant boxes ("slowe/*"), replacing them with "bento/*" instead. Changes found in YAML/JSON data files as well as in some Vagrantfiles and in all applicable README files.
Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
Remove references to personally-maintained Vagrant boxes. Update setup script to use newer version of Consul (0.7.1).
Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
Add `ansible.cfg` and `provision.yml` as initial versions of Ansible configuration/provisioning tools to turn up the OVN environment (will be called by Vagrant)
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Rename `servers.yml` to `machines.yml` to adhere to naming standards. Edit files to assume the use of Ubuntu 16.04. Modify `Vagrantfile` to use latest approach in reading data from YAML config file.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Begin the process of phasing out my personal Vagrant boxes in favor of better-maintained boxes. This involves changes to machines.yml and README.md for many projects in this repo.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Edit machines.yml to use nested YAML data structures for box names. Edit Vagrantfile to reference updated YAML data appropriately.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Edit YAML data files to use nested data structures. Edit Vagrantfile to reference YAML data accordingly.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Add Terraform configuration files for launching an instance in a new VPC on a new subnet, with a new Internet gateway, new route table, and new route table association (all required when creating a new VPC).
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Update main repository README file to include new environments and tools that had been added but were not reflected in the READE.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Add Ansible configuration, Ansible inventory, dynamic inventory script, and Ansible playbooks for a learning environment that shows how to manage AWS infrastructure using Ansible.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Add a simple Terraform configuration to spin up an Ubuntu 14.04 EC2 instance in the default VPC using the default security group.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Update etcd-backed Docker Swarm environment with Ubuntu and Photon. Switch from shell provisioning to Ansible. Update Vagrantfile to use new techniques pioneered in other environments. Switch away from meta-data/user-data for Photon customization, use Ansible instead.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Remove customized override files generated from ERB template (excluded from Git in previous commit)
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Add .gitignore file for the etcd-backed Docker Swarm cluster using Photon OS to ignore customized etcd override files generated from ERB template.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Update the etcd-backed Docker Swarm environment with new methods/techniques learned in building the Vagrant environment. This involves changes to the external YAML file (renamed to "machines.yml") and the Vagrantfile. Only minor changes were made to the ERB template and the provisioning script (to eliminate a dependency on shared folders).
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Add a `README.md` file to the "photon-ansible" learning environment. This commit addresses issue #52.
Closes#52.
Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
Update the YAML configuration files for KVM-based environments to use the "vmw_box" notation for VMware-formatted boxes, even though VirtualBox is not supported for these environments.
For KVM-based environments (which require nested virtualization support), update the README.md to note that VirtualBox is not supported. Also update the Vagrantfile for clearer indications that only VMware-based providers are supported.