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

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)]
主站蜘蛛池模板: 临清市| 菏泽市| 樟树市| 恭城| 寿光市| 永修县| 托克托县| 通江县| 方城县| 和硕县| 淮滨县| 法库县| 嵩明县| 确山县| 湄潭县| 东辽县| 行唐县| 弥勒县| 阳泉市| 雷州市| 盈江县| 黔西| 屏山县| 吉木乃县| 响水县| 咸宁市| 科尔| 安塞县| 英超| 永年县| 阜新| 宜兰市| 平遥县| 张家口市| 金秀| 宾川县| 永川市| 右玉县| 河北省| 女性| 山东|