]>
git.immae.eu Git - github/fretlink/docker-ansible.git/blob - mini-debian8/install-ansible.sh
6ddf0cbe3ceb6450af41ec6c017a85c7d66b3c68
3 # Simple wrapper for installing ansible
7 echo "===> Adding backports..."
9 mkdir -p /etc
/apt
/sources.list.d
/
10 echo "deb http://ftp.debian.org/debian jessie-backports main" | tee -a /etc
/apt
/sources.list.d
/jessie
-backports.list
14 echo "===> Adding prerequisites..."
17 cat ___APT_INSTALL_LIST
| \
19 apt
-get install -y $ITEM
24 echo "===> Installing Ansible..."
25 apt
-get -t jessie
-backports install -y ansible
29 echo "===> Adding hosts for convenience..." && \
30 mkdir -p /etc
/ansible
&& \
31 echo 'localhost' > /etc
/ansible
/hosts