Ansible Desktop Role
Provisions an Ubuntu 24.04 Ansible development desktop with VirtualBox, LXD, and Vagrant.
This C2 Platform Ansible Collection contains roles specifically designed for development environments. These roles are not intended for production systems! The collection primarily focuses on the deployment and management of Ubuntu-based Ansible Development Desktops and Warming environments, forming a key component of the C2 Platform Ansible development ecosystem.
c2platform.dev.vagrant — Generates an Ansible inventory from a C2 Platform
Vagrantfile.yml. Hosts are taken from the nodes section and groups are
generated from the node and box labels.label_groupsThe vagrant inventory plugin supports a label_groups option that allows
configuring parent groups based on labels. It is defined at the top level of
Vagrantfile.yml:
label_groups:
cka: [cka_worker, cka_cp, cka_cp_join]
cka_etcdctl: [cka_cp, cka_cp_join]
With the configuration above, when a node has a label cka_worker, cka_cp or
cka_cp_join, it will automatically also be placed in the parent group cka.
This is the equivalent of the following INI [parent:children] construct:
[cka:children]
cka_worker
cka_cp
cka_cp_join
For detailed information on the available modules and filters within this collection, please refer to the Ansible Galaxy page.
You can of course also use the ansible-doc command to explore the
documentation:
ansible-doc -t module --list c2platform.dev
ansible-doc -t filter --list c2platform.dev
ansible-doc -t inventory --list c2platform.dev
ansible-doc -t inventory c2platform.dev.vagrant
ansible-doc -t filter <FILTER_NAME>
ansible-doc -t module <MODULE_NAME>
Provisions an Ubuntu 24.04 Ansible development desktop with VirtualBox, LXD, and Vagrant.
Installs Oracle VirtualBox from the Oracle apt repository on Debian and Ubuntu.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.