dgibbs64.landscape_client
landscape_client
This is an Ansible role for setting up the Canonical Landscape Client on Ubuntu.
About
Landscape is a tool for managing and administering Ubuntu, provided by Canonical. This role helps set up the Landscape client on Ubuntu and connect it to either a Landscape cloud account or a self-hosted Landscape server.
Requirements
You need either a Landscape cloud account or a self-hosted Landscape server.
Role Variables
---
# Default settings for ansible-role-landscape_client
# Landscape server
landscape_client_server: "{{ groups['landscape_server'][0] }}"
# Is it self-hosted?
landscape_client_server_self_hosted: false
# Your account name
landscape_client_account_name: account-name
# Title of the computer in Landscape
landscape_client_computer_title: "computer title"
# Access group for the client
landscape_client_access_group: "access-group"
# Tags for the client
landscape_client_tags: "tag1, tag2"
## Only for self-hosted
# Server certificate on the client
landscape_client_ssl_cert: "/etc/landscape/server.pem"
# SSL public key directory
landscape_client_server_ssl_cert: "/etc/ssl/certs/ssl-cert-snakeoil.pem"
# Landscape server URLs
landscape_client_server_ping_url: "http://landscape.canonical.com/ping"
landscape_client_server_url: "https://landscape.canonical.com/message-system"
# Data path for the client
landscape_client_data_path: "/var/lib/landscape/client"
# Log level for the client: debug, info, warning, error, or critical
landscape_client_log_level: "info"
# Force the client to register
landscape_client_force_register: false
# Enable script execution in Landscape
landscape_client_enable_script_users: false
# Users allowed to execute scripts
landscape_client_script_users: root
Dependencies
None
Example Playbook
For Landscape Cloud
---
- name: "Set up Landscape Client"
hosts: all
vars:
landscape_client_account_name: landscape-account-name
landscape_client_computer_title: "Computer Title"
landscape_client_access_group: "access-group"
landscape_client_tags: "web, db, apache"
roles:
- role: dgibbs64.landscape_client
For Self-hosted
---
- name: "Set up Landscape Client"
hosts: all
vars:
landscape_client_server: "{{ groups['landscape_server'][0] }}"
landscape_client_account_name: landscape-account-name
landscape_client_computer_title: "Computer Title"
landscape_client_access_group: "access-group"
landscape_client_tags: "web, db, apache"
landscape_client_server_ping_url: "http://landscape.example.com/ping"
landscape_client_server_url: "https://landscape.example.com/message-system"
roles:
- role: dgibbs64.landscape_client
License
MIT
Author Information
Updated by: Daniel Gibbs
Originally by: Larry Smith Jr.
- @mrlesmithjr
- EverythingShouldBeVirtual
- mrlesmithjr [at] gmail.com
Installa
ansible-galaxy install dgibbs64.landscape_client
Licenza
mit
Download
1.5k
Proprietario
🎮 Developer of LinuxGSM. 💻 Platform Engineer.⚓️ Ex Royal Navy Engineer