This commit is contained in:
Alex Stephen 2019-11-04 16:14:27 -08:00
parent 4462502e9d
commit 66474a3916
8 changed files with 4 additions and 33 deletions

View file

@ -1,29 +0,0 @@
---
language: python
python: "2.7"
# Use the new container infrastructure
sudo: false
# Install ansible
addons:
apt:
packages:
- python-pip
install:
# Install ansible
- pip install ansible
# Check ansible version
- ansible --version
# Create ansible.cfg with correct roles_path
- printf '[defaults]\nroles_path=../' >ansible.cfg
script:
# Basic role syntax check
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/

View file

@ -1,4 +1,4 @@
gcp-http-lb gcp_http_lb
========= =========
This role helps you set up a Google Cloud Load Balancer. This role helps you set up a Google Cloud Load Balancer.
@ -25,12 +25,12 @@ Example Playbook
vars: vars:
gcp_http_lb_backend: projects/project/zones/us-central1-c/instanceGroups/my-instance-group gcp_http_lb_backend: projects/project/zones/us-central1-c/instanceGroups/my-instance-group
roles: roles:
- role: gcp-http-lb - role: gcp_http_lb
License License
------- -------
Apache2 GPLv3
Author Information Author Information
------------------ ------------------

View file

@ -2,4 +2,4 @@
- hosts: localhost - hosts: localhost
remote_user: root remote_user: root
roles: roles:
- gcp-http-lb - gcp_http_lb