官术网_书友最值得收藏!

Installing via pip

You can install Ansible via pip. If you don't have pip installed on your system, install it. You can use pip to install Ansible on Windows too, using the following command line:

    $ sudo easy_install pip

You can now install Ansible using pip, as follows:

    $ sudo pip install ansible

Once you're done installing Ansible, run ansible --version to verify that it has been installed:

    $ ansible --version

You will get many lines as output from the preceding command line, as follows:

ansible 2.7.1
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/fale/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /bin/ansible
python version = 2.7.15 (default, Oct 15 2018, 15:24:06) [GCC 8.1.1 20180712 (Red Hat 8.1.1-5)]
主站蜘蛛池模板: 阿巴嘎旗| 柯坪县| 南部县| 宣威市| 黎川县| 寿光市| 涪陵区| 诸暨市| 延庆县| 大方县| 苏尼特右旗| 阿拉尔市| 东兴市| 沂源县| 玉龙| 潮安县| 镇巴县| 江都市| 丹巴县| 温宿县| 中西区| 佛山市| 永济市| 连城县| 宝丰县| 韩城市| 双江| 天镇县| 乾安县| 怀集县| 昭平县| 荃湾区| 石景山区| 板桥市| 绥德县| 泾川县| 牟定县| 曲阜市| 新余市| 冀州市| 金沙县|