➜ ansible-tinc git:(master) ansible --version |
ansible 1.8.2 |
configured module search path = None |
➜ ansible-tinc git:(master) sudo pip install ansible --upgrade |
Password: |
The directory '/Users/mwang/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. |
The directory '/Users/mwang/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. |
Collecting ansible |
Downloading ansible-2.0.2.0.tar.gz (1.5MB) |
100% |████████████████████████████████| 1.5MB 199kB/s |
Collecting paramiko (from ansible) |
Downloading paramiko-2.0.0-py2.py3-none-any.whl (170kB) |
100% |████████████████████████████████| 172kB 494kB/s |
Collecting jinja2 (from ansible) |
Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB) |
100% |████████████████████████████████| 266kB 2.3MB/s |
Collecting PyYAML (from ansible) |
Downloading PyYAML-3.11.zip (371kB) |
100% |████████████████████████████████| 372kB 384kB/s |
Collecting setuptools (from ansible) |
Downloading setuptools-21.0.0-py2.py3-none-any.whl (509kB) |
100% |████████████████████████████████| 512kB 309kB/s |
Requirement already up-to-date: pycrypto>=2.6 in /Library/Python/2.7/site-packages (from ansible) |
Collecting pyasn1>=0.1.7 (from paramiko->ansible) |
Downloading pyasn1-0.1.9-py2.py3-none-any.whl |
Collecting cryptography>=1.1 (from paramiko->ansible) |
Downloading cryptography-1.3.1-cp27-none-macosx_10_6_intel.whl (1.4MB) |
100% |████████████████████████████████| 1.4MB 196kB/s |
Collecting MarkupSafe (from jinja2->ansible) |
Downloading MarkupSafe-0.23.tar.gz |
Collecting enum34 (from cryptography>=1.1->paramiko->ansible) |
Downloading enum34-1.1.4-py2.py3-none-any.whl (61kB) |
100% |████████████████████████████████| 61kB 59kB/s |
Collecting ipaddress (from cryptography>=1.1->paramiko->ansible) |
Downloading ipaddress-1.0.16-py27-none-any.whl |
Collecting six>=1.4.1 (from cryptography>=1.1->paramiko->ansible) |
Downloading six-1.10.0-py2.py3-none-any.whl |
Collecting idna>=2.0 (from cryptography>=1.1->paramiko->ansible) |
Downloading idna-2.1-py2.py3-none-any.whl (54kB) |
100% |████████████████████████████████| 57kB 657kB/s |
Collecting cffi>=1.4.1 (from cryptography>=1.1->paramiko->ansible) |
Downloading cffi-1.6.0-cp27-none-macosx_10_6_intel.whl (219kB) |
100% |████████████████████████████████| 221kB 350kB/s |
Collecting pycparser (from cffi>=1.4.1->cryptography>=1.1->paramiko->ansible) |
Downloading pycparser-2.14.tar.gz (223kB) |
100% |████████████████████████████████| 225kB 1.8MB/s |
Installing collected packages: pyasn1, setuptools, enum34, ipaddress, six, idna, pycparser, cffi, cryptography, paramiko, MarkupSafe, jinja2, PyYAML, ansible |
Found existing installation: pyasn1 0.1.7 |
Uninstalling pyasn1-0.1.7: |
Successfully uninstalled pyasn1-0.1.7 |
Found existing installation: setuptools 18.3.1 |
Uninstalling setuptools-18.3.1: |
Successfully uninstalled setuptools-18.3.1 |
Found existing installation: six 1.8.0 |
Uninstalling six-1.8.0: |
Successfully uninstalled six-1.8.0 |
Running setup.py install for pycparser |
Found existing installation: paramiko 1.14.1 |
Uninstalling paramiko-1.14.1: |
Successfully uninstalled paramiko-1.14.1 |
Running setup.py install for MarkupSafe |
Running setup.py install for PyYAML |
Running setup.py install for ansible |
Successfully installed MarkupSafe-0.23 PyYAML-3.11 ansible-2.0.2.0 cffi-1.6.0 cryptography-1.3.1 enum34-1.1.4 idna-2.1 ipaddress-1.0.16 jinja2-2.8 paramiko-2.0.0 pyasn1-0.1.9 pycparser-2.14 setuptools-21.0.0 six-1.10.0 |
You are using pip version 7.1.2, however version 8.1.1 is available. |
You should consider upgrading via the 'pip install --upgrade pip' command. |
➜ ansible-tinc git:(master) ansible --version |
ansible 2.0.2.0 |
config file = /Users/mwang/ansible-tinc/ansible.cfg |
configured module search path = Default w/o overrides |
ansible-galaxy
command to download roles from the Galaxy server.For example, the following downloads the debops.apt role:ANSIBLE_ROLES_PATH
. When set, theANSIBLE_ROLES_PATH variable is used during playbook execution to locate installed roles, and by ansible-galaxy
to determine where to install roles. It can be set to a single directory path, or to a list of paths(e.g., /etc/ansible/roles:~/.ansible/roles). If set to a list, ansible-galaxy
will install roles tothe first writable path.roles_path
can be set. Setting the value of roles_path
behaves the same as setting theANSIBLE_ROLES_PATH environment variable.ansible-galaxylist
command to list all the roles and role versions you have installed.meta/main.yml
file, using the top-level dependencies keyword.The following shows an example meta/main.yml
file with dependent roles: