Add all files needed to bring up VM and run agaric.com locally
This commit is contained in:
parent
52c8b60bac
commit
4d2bc0ee24
742 changed files with 24037 additions and 0 deletions
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
- name: Ensure Varnish dependencies are installed.
|
||||
yum: name={{ item }} state=present
|
||||
with_items:
|
||||
- yum-utils
|
||||
- pygpgme
|
||||
|
||||
- name: Add Varnish packagecloud.io yum repo.
|
||||
yum_repository:
|
||||
name: varnishcache_{{ varnish_packagecloud_repo }}
|
||||
description: Varnish Cache packagecloud.io repository.
|
||||
baseurl: https://packagecloud.io/varnishcache/{{ varnish_packagecloud_repo }}/el/{{ ansible_distribution_major_version|int }}/$basearch
|
||||
repo_gpgcheck: no
|
||||
gpgcheck: no
|
||||
enabled: yes
|
||||
gpgkey: https://packagecloud.io/varnishcache/{{ varnish_packagecloud_repo }}/gpgkey
|
||||
sslverify: 1
|
||||
sslcacert: /etc/pki/tls/certs/ca-bundle.crt
|
||||
register: varnish_packagecloud_repo_addition
|
||||
|
||||
- name: Refresh yum metadata cache if repo changed.
|
||||
command: >
|
||||
yum clean metadata
|
||||
warn=no
|
||||
when: varnish_packagecloud_repo_addition.changed
|
||||
|
||||
- name: Ensure Varnish is installed.
|
||||
yum:
|
||||
name: "{{ varnish_package_name }}"
|
||||
state: installed
|
||||
Loading…
Add table
Add a link
Reference in a new issue