From the course: Complete Guide to Configuration Management Using Ansible
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Setting up an Ansible control node with Python pip - Ansible Tutorial
From the course: Complete Guide to Configuration Management Using Ansible
Setting up an Ansible control node with Python pip
An alternative way to install Ansible is using Python pip. So what is the difference? Well, if you install Ansible from the distribution repositories, you get a version of Ansible that is well-tested. If you install Ansible using Python pip, you get the latest version of Ansible, and you might encounter features that have not yet stabilized and which would've been stabilized in distributions. So that, by itself, is a good reason to prefer software that comes from the distributions. But you might be on a Linux distribution where there is no Ansible package in the distribution itself. Or you might be interested in testing the latest features and the latest version of Ansible. There, you are better off using Python pip. And let's talk about how you can do that on Linux in general. In Fedora or on CentOS, you would start by using dnf install python3-pip. On other Linux distributions, procedure is the same. You just need a different package manager because dnf is not everywhere available…
Contents
-
-
-
-
(Locked)
Learning objectives48s
-
(Locked)
Ansible infrastructure components2m 28s
-
(Locked)
Setting up a RHEL Ansible control node7m 21s
-
Setting up an Ubuntu Ansible control node2m 24s
-
(Locked)
Setting up an Ansible control node with Python pip2m 42s
-
(Locked)
Requirements for managing assets2m 23s
-
(Locked)
Modules and collections2m 36s
-
(Locked)
Using ansible to configure managed nodes, part 18m 26s
-
(Locked)
Using ansible to configure managed nodes, part 29m 20s
-
(Locked)
Using ansible to configure managed nodes, part 38m 22s
-
(Locked)
Defining default settings in ansible.cfg7m 2s
-
(Locked)
Managing windows8m 42s
-
(Locked)
Using macOS as a control node1m 32s
-
(Locked)
Lesson 2 lab: Setting up an Ansible-managed environment17s
-
(Locked)
Lesson 2 lab solution: Setting up an Ansible-managed environment5m 18s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-