gliech.incus
Incus Server Ansible Role
This Ansible role installs Incus using your operating system's package manager and sets it up with a configuration object.
Requirements
No special requirements.
Role Variables
Name | Required | Type | Description |
---|---|---|---|
incus_config |
yes | object | Configuration object for Incus. For details, check the Incus documentation. Make sure not to leave out any values from incus admin init --dump for correct checks of changes. Example: yaml config: {} networks: [...] |
incus_extra_users |
no | list(string) | This role will add the Ansible user to the Incus group. You can add extra usernames here if needed. Default: [] |
incus_subid_offset |
no | integer | Offset for subordinate user IDs and group IDs in /etc/subuid and /etc/subgid . Default: 1000000 |
incus_subid_range |
no | integer | Range for subordinate user IDs and group IDs in /etc/subuid and /etc/subgid . Default: 6553600 |
Dependencies
No dependencies.
Example Playbook
- hosts: container_host
tasks:
- ansible.builtin.import_role:
name: gliech.incus
vars:
incus_config:
config: {}
networks: []
storage_pools:
- config:
source: /var/lib/incus/storage-pools/default
description: ""
name: default
driver: dir
profiles:
- config:
security.privileged: "true"
description: Default Incus profile
devices:
root:
path: /
pool: default
type: disk
name: default
projects:
- config:
features.images: "true"
features.networks: "true"
features.networks.zones: "true"
features.profiles: "true"
features.storage.buckets: "true"
features.storage.volumes: "true"
description: Default Incus project
name: default
License
This project is licensed under the GNU General Public License v3.0.
Informazioni sul progetto
Install incus from the os package manager and configure it using a preseed object.
Installa
ansible-galaxy install gliech.incus
Licenza
gpl-3.0
Download
334
Proprietario