Ansible: Unterschied zwischen den Versionen

Aus Alexander's Wiki
Zeile 1: Zeile 1:
= Installation (Control machine) =
= Installation (Ubuntu) =
<source lang="bash" encl="div">
apt-get install software-properties-common
apt-add-repository ppa:ansible/ansible
apt-get update
apt-get install ansible
</source>
 
= Installation (Manuell, Control machine) =
<source lang="bash" encl="div">
<source lang="bash" encl="div">
git clone git://github.com/ansible/ansible.git --recursive
git clone git://github.com/ansible/ansible.git --recursive
Zeile 8: Zeile 16:
apt-get install build-essential libssl-dev libffi-dev python-dev
apt-get install build-essential libssl-dev libffi-dev python-dev
apt-get install python-setuptools
apt-get install python-setuptools
easy_install pip (apt-get install python-pip)
easy_install pip


pip install paramiko PyYAML Jinja2 httplib2 six
pip install paramiko PyYAML Jinja2 httplib2 six
</source>
</source>


= Update =
= Update (Manuell) =
Beim Update von Ansible müssen auch die Submodule mit upgedated werden. Diese geschieht durch die beiden Befehle:
Beim Update von Ansible müssen auch die Submodule mit upgedated werden. Diese geschieht durch die beiden Befehle:
<source lang="bash" encl="div">
<source lang="bash" encl="div">

Version vom 8. Oktober 2016, 10:56 Uhr

Installation (Ubuntu)

apt-get install software-properties-common
apt-add-repository ppa:ansible/ansible
apt-get update
apt-get install ansible

Installation (Manuell, Control machine)

git clone git://github.com/ansible/ansible.git --recursive
cd ./ansible

source ./hacking/env-setup

apt-get install build-essential libssl-dev libffi-dev python-dev
apt-get install python-setuptools
easy_install pip

pip install paramiko PyYAML Jinja2 httplib2 six

Update (Manuell)

Beim Update von Ansible müssen auch die Submodule mit upgedated werden. Diese geschieht durch die beiden Befehle:

git pull --rebase
git submodule update --init --recursive