-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrong .travis.yml indentation was preventing this project from being built.
- Loading branch information
Showing
1 changed file
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
--- | ||
language: python | ||
python: "2.7" | ||
|
||
before_install: | ||
- sudo apt-get update -qq | ||
install: | ||
# Install Ansible. | ||
- pip install ansible==1.7.2 | ||
|
||
install: | ||
# Install Ansible. | ||
- pip install ansible==1.7.2 | ||
|
||
# Create an inventory file for testing. | ||
- "echo 'uchiwa-standalone ansible_ssh_host=localhost' > inventory" | ||
script: | ||
# Check the role/playbook's syntax. | ||
- "ansible-playbook -i inventory vagrant/site.yml --syntax-check" | ||
- "echo 'uchiwa-standalone ansible_ssh_host=localhost' > inventory" | ||
|
||
script: | ||
# Check the role/playbook's syntax. | ||
- "ansible-playbook -i inventory vagrant/site.yml --syntax-check" | ||
|
||
# Run the playbook | ||
- "ansible-playbook -vvvv -i inventory vagrant/site.yml --connection=local --sudo" | ||
- "ansible-playbook -vvvv -i inventory vagrant/site.yml --connection=local --sudo" |