Reorganize integration tests:

- Move legacy tests into a separate directory.
- Reduce common dependencies between targets.
This commit is contained in:
Matt Clay 2017-09-13 17:31:44 -07:00
commit 781fd7099a
513 changed files with 111 additions and 6 deletions

View file

@ -0,0 +1,2 @@
---
# defaults for ec2_elb_setup

View file

@ -0,0 +1,6 @@
<html>
<head>Hi!</head>
<body>
Hello!
</body>
</html>

View file

@ -0,0 +1 @@
dependencies: []

View file

@ -0,0 +1,19 @@
---
# tasks file for ec2_elb_setup
# ============================================================
# install apache on the ec2 instances
- name: install apache on new ec2 instances
package: name=httpd
when: ansible_os_family == 'RedHat'
- name: install apache on new ec2 instances
package: name=apache
when: ansible_os_family == 'Debian'
- name: start and enable apache
service: name=httpd state=started enabled=yes
- name: create an index.html landing page
copy: dest=/var/www/html/index.html src=index.html owner=root group=root mode=0644