-
-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #1: Fix Ansible install/uninstall since PPA doesn't exist yet.
- Loading branch information
1 parent
5400de1
commit fcd0d19
Showing
2 changed files
with
22 additions
and
7 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,10 +1,20 @@ | ||
#!/bin/bash -eux | ||
|
||
# Install pip. | ||
apt -y install python-setuptools python-dev | ||
easy_install pip | ||
|
||
# Install Ansible. | ||
pip install ansible | ||
|
||
# TODO: Switch to official apt repo after the following issue is resolved: | ||
# https://github.com/ansible/ansible/issues/15524 | ||
|
||
# Install Ansible repository. | ||
apt -y update && apt-get -y upgrade | ||
apt -y install software-properties-common | ||
apt-add-repository ppa:ansible/ansible | ||
# apt -y update && apt-get -y upgrade | ||
# apt -y install software-properties-common | ||
# apt-add-repository ppa:ansible/ansible | ||
|
||
# Install Ansible. | ||
apt -y update | ||
apt -y install ansible | ||
# apt -y update | ||
# apt -y install ansible |
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