Open main menu

CDOT Wiki β

Changes

OPS435 Ansible

2,606 bytes added, 02:25, 24 November 2019
Installing Ansible on CentOS 7
** ansible-playbook firstrun.yaml
== Part 1: Installing Ansible on CentOS 7 ==: run the command yum install ansible as root. You may have installed the following dependent packages:<source lang="python"> --> Finished Dependency Resolution Dependencies Resolved ===================================================================================================================== Package Arch Version Repository Size=====================================================================================================================Installing: ansible noarch 2.9.1-1.el7 epel 17 MInstalling for dependencies: python-babel noarch 0.9.6-8.el7 base 1.4 M python-cffi x86_64 1.6.0-5.el7 base 218 k python-enum34 noarch 1.0.4-1.el7 base 52 k python-httplib2 noarch 0.9.2-1.el7 extras 115 k python-idna noarch 2.4-1.el7 base 94 k python-jinja2 noarch 2.7.2-4.el7 base 519 k python-markupsafe x86_64 0.11-10.el7 base 25 k python-paramiko noarch 2.1.1-9.el7 base 269 k python-ply noarch 3.4-11.el7 base 123 k python-pycparser noarch 2.14-1.el7 base 104 k python2-cryptography x86_64 1.7.2-2.el7 base 502 k python2-jmespath noarch 0.9.0-3.el7 extras 39 k python2-pyasn1 noarch 0.1.9-7.el7 base 100 k sshpass x86_64 1.06-2.el7 extras 21 k Transaction Summary=====================================================================================================================Install 1 Package (+14 Dependent packages) Total download size: 21 MInstalled size: 120 MIs this ok [y/d/N]: </source>
== Sample runs for some of the Ad hoc commands ==
1,760
edits