tjcim.ansible-vagrant-box

Vagrant Box

This role helps create a Ubuntu/Xenial64 setup for development with Docker Containers using Vagrant.

It updates the box to ensure all packages are the latest.

It installs or checks that the following are installed:

  • python2 (python-minimal)
  • python3
  • python3-apt
  • python3-pip
  • python3-venv
  • build-essential
  • pwgen
  • rsyslog-gnutls
  • aptitude

It adds the ubuntu user to the Docker group.

It configures rsyslog to send logs to Papertrail using TLS.

It adds export HOST_IP={ the host ip } to the file /home/ubuntu/.profile.

Requirements

You need to set a variable called papertrail_server. This should be in the format logsX, which is given by Papertrail. You also need a variable called papertrail_port, which is the port that Papertrail will use for your logs.

Dependencies

Example Playbook

- hosts: vagrant_box
  roles:
     - { role: tjcim.vagrant-box, tags: 'vagrant-box' }

License

BSD

Author Information

Trevor Christiansen

Informazioni sul progetto

Vagrant Box with ansible provisioning designed for setting up a dev environment.

Installa
ansible-galaxy install tjcim.ansible-vagrant-box
Licenza
Unknown
Download
138
Proprietario