Commit 18b3c75d authored by Mathieu Lutfy's avatar Mathieu Lutfy Committed by bgm

infra/ops#897 New test.c.o VM

parent 7976779b
......@@ -18,7 +18,7 @@ java-prod.civicrm.osuosl.org
manage.civicrm.osuosl.org
spark-1.civicrm.org
spark-2.civicrm.org
test.civicrm.org
test.civicrm.org ansible_ssh_host=35.226.128.213
test-ubu1204-1.civicrm.osuosl.org
test-1.civicrm.org # formerly test-ubu1204-5
test-2.civicrm.org # formerly test-ubu1604-1
......@@ -64,6 +64,9 @@ test-1.civicrm.org
test-2.civicrm.org
test-3.civicrm.org
[jenkins-servers]
test.civicrm.org
[backup-servers]
backups-1.civicrm.org
newsushi.civicrm.osuosl.org
......
---
- name: update debian timezone
shell: dpkg-reconfigure --frontend noninteractive tzdata
- name: restart nginx
shell: systemctl restart nginx
---
# Required for some tests, to avoid having to deal with PHP/MySQL timezone issues
- name: Set Time Zone to UTC
copy:
content: 'Etc/UTC'
dest: /etc/timezone
owner: root
group: root
mode: 0644
notify: update debian timezone
# Required for Jenkins
- apt: name={{ item }} state=present install_recommends=no
with_items:
- openjdk-8-jre-headless
tags:
- packages
- packages-java
- name: Get Jenkins Apt Key
apt_key:
url="https://pkg.jenkins.io/debian/jenkins.io.key"
state=present
tags:
- jenkins
- packages
- name: Configure the Jenkins Apt Repo
apt_repository:
repo="deb http://pkg.jenkins.io/debian-stable binary/"
update_cache=yes
state=present
tags:
- jenkins
- packages
- apt: name={{ item }} state=present install_recommends=no
with_items:
- nginx
- jenkins
......@@ -53,6 +53,7 @@
sudo: yes
roles:
- test-node
- gitlab-runner
tags:
- test-node
......@@ -173,3 +174,10 @@
- dehydrated
tags:
- dehydrated
- hosts: jenkins-servers
sudo: yes
roles:
- jenkins
tags:
- jenkins
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment