AnsiblePilot — Master Ansible Automation

AnsiblePilot is the leading resource for learning Ansible automation, DevOps, and infrastructure as code. Browse over 1,400 tutorials covering Ansible modules, playbooks, roles, collections, and real-world examples. Whether you are a beginner or an experienced engineer, our step-by-step guides help you automate Linux, Windows, cloud, containers, and network infrastructure.

Popular Topics

About Luca Berton

Luca Berton is an Ansible automation expert, author of 8 Ansible books published by Apress and Leanpub including "Ansible for VMware by Examples" and "Ansible for Kubernetes by Example", and creator of the Ansible Pilot YouTube channel. He shares practical automation knowledge through tutorials, books, and video courses to help IT professionals and DevOps engineers master infrastructure automation.

How to install Ansible in OpenSUSE Leap 15 - Ansible install — Video Tutorial

How to install the latest version of Ansible in openSUSE using the official SUSE Leap \"update\" repository.

Watch on YouTube · Read the written article

Tutorial summary

What you'll learn

  • How to install Ansible in openSUSE Leap?
  • How to install Ansible in openSUSE Leap 15
  • code
  • execution
  • before the execution
  • after the execution
  • Troubleshooting Common Installation Issues
  • 1. Wrong Python interpreter
  • 2. SELinux / AppArmor blocking ansible
  • 3. SSH key authentication failing
How to install Ansible in openSUSE Leap? Today we're going to talk about the easier way to install and maintain Ansible inside openSUSE 15 using the distribution repository. How to install Ansible in openSUSE Leap 15 - use repository openSUSE Leap Update Today we're talking about How to install Ansible in openSUSE Leap 15. The easier way to install and maintain Ansible inside openSUSE Leap version 15 is using the Leap Update repository maintained by SUSE. ## Playbook Are you ready to make your hands dirty? Let's jump in a quick live Playbook of how to install the latest version of Ansible in openSUSE. code - Install-Ansible-openSUSE-Leap15.sh ```bash #!/bin/bash sudo zypper refresh sudo zypper install ansible sudo zypper info ansible ansible --version ``` execution ```bash $ ssh devops@opensuse.example.com Last login: Thu Nov 18 19:05:28 2021 from 192.168.0.102 Have a lot of fun... devops@suse:~> cat /etc/os-release NAME="openSUSE Leap" VERSION="15.3" ID="opensuse-leap" ID_LIKE="suse opensuse" VERSION_ID="15.3" PRETTY_NAME="openSUSE Leap 15.3" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:15.3" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" devops@suse:~> sudo su suse:/home/devops # zypper refresh Repository 'Update repository of openSUSE Backports' is up to date. Repository 'Non-OSS Repository' is up to date. Repository 'Main Repository' is up to date. Repository 'Update repository with updates from SUSE Linux Enterprise 15' is up to date. Repository 'Main Update Repository' is up to date. Repository 'Update Repository (Non-Oss)' is up to date. All repositories have been refreshed. suse:/home/devops # zypper info ansible Loading repository data... Reading installed packages... Information for package ansible: -------------------------------- Repository : Update repository with updates from SUSE Linux Enterprise 15 Name : ansible Version : 2.9.21-1.7.1 Arch : noarch Vendor : SUSE LLC <https://www.suse.com/> Installed Size : 96.1 MiB Installed : No Status : not installed Source package : ansible-2.9.21-1.7.1.src Summary : SSH-based configuration management, deployment, and task execution system Description : Ansible is a radically simple model-driven configuration management, multi-node deployment, and remote task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes. Extension modules can be written in any language and are transferred to managed machines automatically. suse:/home/devops # zypper install ansible Loading repository data... Reading installed packages... Resolving package dependencies... The following 24 NEW packages are going to be installed: ansible libsodium23 python3-Babel python3-Jinja2 python3-MarkupSafe python3-PyNaCl python3-PyYAML python3-appdirs python3-asn1crypto python3-bcrypt python3-cffi python3-cryptography python3-jmespath python3-packaging pyt

About this tutorial

  • Author: Luca Berton
  • Difficulty: Beginner
  • Read time: 11 min
  • Category: installation

Topics covered

Related video tutorials