Add all files needed to bring up VM and run agaric.com locally

This commit is contained in:
benjamin melançon 2018-08-20 10:45:20 -04:00
parent 52c8b60bac
commit 4d2bc0ee24
742 changed files with 24037 additions and 0 deletions

View file

@ -0,0 +1,26 @@
---
- name: Ensure APT HTTPS Transport is installed.
apt:
name: apt-transport-https
state: installed
- name: Add packagecloud.io Varnish apt key.
apt_key:
url: https://packagecloud.io/varnishcache/{{ varnish_packagecloud_repo }}/gpgkey
state: present
- name: Add packagecloud.io Varnish apt repository.
apt_repository:
repo: "deb https://packagecloud.io/varnishcache/{{ varnish_packagecloud_repo }}/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release }} main"
state: present
- name: Ensure Varnish is installed.
apt:
name: "{{ varnish_package_name }}"
state: present
- name: Ensure old role-managed Varnish systemd unit file is removed.
file:
path: /etc/systemd/system/varnish.service
state: absent
when: varnish_systemd_config_path != '/etc/systemd/system'