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

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)]
主站蜘蛛池模板: 房产| 灵寿县| 兰考县| 日喀则市| 永仁县| 绵阳市| 漳平市| 策勒县| 宜城市| 弥勒县| 罗田县| 台北市| 磐安县| 江永县| 靖州| 和田市| 巨野县| 岳普湖县| 安吉县| 石城县| 湘潭市| 冷水江市| 象州县| 东方市| 大新县| 布拖县| 金川县| 望城县| 韩城市| 米泉市| 岳池县| 寿光市| 碌曲县| 岫岩| 会理县| 婺源县| 河北区| 都匀市| 漠河县| 正阳县| 曲松县|