• Logo
    Landscape
  • ubuntu.com/landscape
  • More resources
    • Discourse
    • GitHub
Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Landscape documentation
Landscape documentation
  • Landscape Documentation
  • What is Landscape?
  • Tutorial
  • How-to guides
    • Landscape installation and set-up
      • Cloud Providers
        • Install on Google Cloud
        • Install on Microsoft Azure
        • Set up Ubuntu Amazon WorkSpaces
      • Quickstart installation
      • Manual installation
      • Juju installation
      • Juju HA installation
      • Install in a LXD container
      • Install on FIPS-compliant machines
      • Install in an airgapped environment
      • Install Landscape Client
      • Configure Landscape Client
      • Configure RabbitMQ
      • Configure Postfix
    • Upgrade
      • Upgrade Landscape
      • Upgrade to Landscape 24.04 LTS
    • Backup and Maintenance
      • Backup and restore
      • Manage maintenance tasks
      • Remove duplicate instances
    • Ubuntu Pro
      • Attach Ubuntu Pro
      • Enable Landscape
    • External authentication
      • Active Directory
      • OIDC
      • PAM
    • Repository mirrors
      • Manage repositories in the web portal
      • Manage repositories with the API
      • Manage repositories in an airgapped environment
      • Create tiered-repository mirrors
    • Web portal
      • Web portal (24.04 or later)
        • Manage administrators and roles
        • Manage access groups
        • Use annotations
        • Manage Livepatch and kernel updates
        • Sanitize instances
        • Use reboot profiles
        • Use script profiles
        • Use security profiles
        • Manage snaps
      • Classic web portal
        • Manage administrators and roles
        • Manage access groups
        • Manage computers
        • Manage packages
        • Manage snaps
        • Other tasks
    • IoT for devices
      • Install the snap
      • Configure the snap
      • Create an Ubuntu Core image that includes the snap
      • Use remote script execution
      • Use annotations
      • Secure removal
      • Manage snaps with validation sets
    • WSL integration
      • Configure Landscape Beta
      • Set up an environment
      • Register WSL hosts
      • Manage WSL instances
      • Use a specific image source
      • Perform common tasks
      • Get support
    • Ubuntu installer
      • Configure a deployment for autoinstall provisioning
      • Set up autoinstall provisioning
      • Provision a workstation
    • Security
      • Harden your deployment
      • Apply security updates
    • API
      • Make a REST API request
      • Use the legacy API
      • Use the legacy API command-line client
      • Use the legacy API via HTTPS requests
      • Use the legacy API Python module
  • Reference
    • API
      • REST API endpoints
        • Activities
        • Administrators
        • Alerts
        • Beta-only
        • Computers
        • Credentials
        • GPG Key
        • Invitations
        • Livepatch
        • Login
        • Packages
        • Password
        • Person
        • Processes
        • Reboot Profiles
        • Repository Profiles
        • Script Profiles
        • Scripts
        • Security Profiles
        • Snaps
        • Switch Account
        • Users
        • WSL
      • Legacy API endpoints
        • Activities
        • Administrators
        • Alerts
        • Computers
        • Event Log
        • GPG
        • Package Profiles
        • Packages
        • Removal Profiles
        • Reporting
        • Repositories
        • Role Based Access Control
        • Saved Searches
        • Scripts
        • Upgrade Profiles
        • WSL
    • Release notes
      • What’s new in beta
      • 24.04 LTS release notes
      • 25.04 release notes
      • 24.10 release notes
      • 23.10 release notes
      • 23.03 release notes
      • Older release notes
        • 19.10 release notes
        • 19.01 release notes
        • 18.03 release notes
        • 17.03 release notes
        • 16.06 release notes
        • 16.03 release notes
        • 15.11 release notes
        • 15.10 release notes
        • 15.01 release notes
        • 14.10 release notes
    • Logs
      • Logs
    • Networking
      • Network firewall
    • Terms
      • Access groups
      • Administrators
      • Alerts
      • Architecture
      • Components
      • Distribution
      • Package
      • Pocket
      • PPA
      • Repositories
      • Roles
      • Scripts
      • Series
      • SSL certificates
      • Suite
      • Tags
      • Profiles
        • Package profile
        • Removal profile
        • Upgrade profile
    • Known issues
    • lsctl
  • Explanation
    • Landscape
      • About Landscape
      • Deployment models
      • Self-hosted Landscape
      • Landscape Server architecture
      • Licenses
    • Features
      • Activities
      • Repository mirroring
      • Package reporting
      • Remote script execution
    • Security
      • Security overview
      • Cryptographic technology
      • Disclosure and reporting
      • Data handling
      • AppArmor
    • Related tools
      • Landscape and Ansible
  • Contribute to our documentation
Back to top

Related tools: Landscape and Ansible¶

A common question for new users, especially those with a background in RHEL, is how Landscape and Ansible relate to each other. This page describes the relationship between Landscape and Ansible.

Note that there is no official integration between Landscape and Ansible. But this doesn’t mean they can’t be used together in a complementary way.

Overview¶

Landscape and Ansible are both tools used in systems management, but they serve different purposes.

Landscape is the centralized management and security platform specifically for Ubuntu. It has a web portal where you can centrally perform management tasks, such as security patching, compliance auditing, running custom scripts, editing user permissions, or managing packages on your client machines.

Ansible is an agentless automation tool used to define and apply a desired state on your servers. It’s code-based, and uses YAML playbooks and SSH to configure software and orchestrate workflows across different operating systems. While it works on Ubuntu, it doesn’t have native awareness of the Ubuntu-specific security ecosystem.

Comparing Landscape and Ansible¶

Feature/Aspect

Landscape

Ansible

Main goal

Observe and manage state: Continuously monitors the health, security, and compliance of your Ubuntu estate.

Define and enforce state: Configures servers to match a specific, desired state.

Agent

Agent-based: Landscape Client is installed on each managed instance and provides continuous status updates and control.

Agentless: Uses SSH for on-demand connections to execute tasks.

Focus

Ubuntu: Integrated with the Ubuntu ecosystem, including all official repositories, security notices (USNs), Livepatch, and Ubuntu Pro.

Cross-platform: A general-purpose tool designed to work across a wide variety of operating systems.

User Interface

Web-based GUI and API: Designed for interactive management via a web portal and integration via a REST API.

CLI: Executes playbooks (YAML files) from the command line.

How to use them together¶

While there is no official integration, a common workflow is to use Ansible for initial system setup and Landscape for ongoing management.

  1. Provisioning with Ansible: Use an Ansible playbook to provision a server. The playbook defines the base configuration, installs necessary applications, and includes a final task to install and register the Landscape client.

  2. Ongoing management with Landscape: After a machine is provisioned and registered, the ongoing administrative tasks are handled through the Landscape portal, such as: applying security patches, running compliance audits, and monitoring system performance.

This approach assigns the repeatable, initial setup to Ansible, while using Landscape for interactive monitoring and maintenance.

Why add Landscape to an Ansible workflow?¶

Landscape provides several capabilities that complement an Ansible workflow:

  • Centralized status monitoring and reporting: Landscape provides a persistent, dashboard-based view of your Ubuntu estate’s status. Landscape collects data over time, which can be used to generate historical reports for security audits and compliance purposes.

  • Security notice integration: Landscape integrates directly with Ubuntu’s security data. Instead of only showing that a package update is available, Landscape provides context by linking the update to specific Ubuntu Security Notices (USNs) and the corresponding CVE severity levels.

  • Role-based access control (RBAC): Landscape’s web portal includes Role-Based Access Control (RBAC). This feature allows for delegating specific tasks by granting users granular permissions. For example, a security team can be given read-only access to compliance data, while another user is granted permission to apply patches only to a specific group of machines. This allows for task delegation without providing direct SSH access to the individual machines.

Copyright © 2025 CC-BY-SA, Canonical Ltd.
Last updated on Aug 13, 2025
Manage your tracker settings
Ask a question on Discourse
Edit this page on GitHub
Contents
  • Related tools: Landscape and Ansible
    • Overview
    • Comparing Landscape and Ansible
    • How to use them together
    • Why add Landscape to an Ansible workflow?