{"id":119,"date":"2023-07-31T15:25:34","date_gmt":"2023-07-31T15:25:34","guid":{"rendered":"http:\/\/192.168.0.142\/?p=119"},"modified":"2023-08-02T11:52:25","modified_gmt":"2023-08-02T11:52:25","slug":"installation-of-ansible-on-ubuntu-22-04","status":"publish","type":"post","link":"http:\/\/192.168.0.142\/installation-of-ansible-on-ubuntu-22-04\/","title":{"rendered":"Ansible installation on Ubuntu 22.04"},"content":{"rendered":"\n

Ansible is a simple IT automation system. It handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration.<\/p>\n\n\n\n

It is primarily intended for IT professionals, who use it for application deployment, updates on workstations and servers, cloud provisioning, configuration management, intra-service orchestration, and nearly anything a systems administrator does on a weekly or daily basis<\/p>\n\n\n\n

Update package index files<\/strong><\/p>\n\n\n\n

sudo apt update<\/code><\/pre>\n\n\n\n

Add the repository<\/strong><\/p>\n\n\n\n

sudo add-apt-repository --yes --update ppa:ansible\/ansible<\/code><\/pre>\n\n\n\n

Install pip and ansible<\/strong><\/p>\n\n\n\n

sudo apt install python3-pip ansible -y<\/code><\/pre>\n\n\n\n

Check version of ansible installed in the system<\/strong><\/p>\n\n\n\n

ansible --version<\/code><\/pre>\n\n\n\n

Terminal output for reference<\/strong><\/p>\n\n\n\n

$ ansible --version\nansible 2.10.8\n  config file = None\n  configured module search path = ['\/home\/ability\/.ansible\/plugins\/modules', '\/usr\/share\/ansible\/plugins\/modules']\n  ansible python module location = \/usr\/lib\/python3\/dist-packages\/ansible\n  executable location = \/usr\/bin\/ansible\n  python version = 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"

Ansible is a simple IT automation system. It handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. It is primarily intended for IT professionals, who use it for application deployment, updates on workstations and servers, cloud provisioning, configuration management, intra-service orchestration, and nearly anything a systems administrator does on … Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":272,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[16,12],"_links":{"self":[{"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/posts\/119"}],"collection":[{"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/comments?post=119"}],"version-history":[{"count":9,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/posts\/119\/revisions"}],"predecessor-version":[{"id":283,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/posts\/119\/revisions\/283"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/media\/272"}],"wp:attachment":[{"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/media?parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/categories?post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.142\/wp-json\/wp\/v2\/tags?post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}