Skip to content

jordibalcellss/ansible-role-host-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

ansible-role-host-server

An Ansible role to provision and configure a host server.

Description

The role defines two tasks, namely

I'd suggest running it aginst a newly installed system whose network/user account settings can be configured in vars/main.yml.

The playbook creates a bridged interface and reconfigures the pysical one before providing virtualization support.

Compatibility

Tested under CentOS 7 and AlmaLinux 9.

Dependencies

community.general Ansible collection (for nmcli):

ansible-galaxy collection install community.general

Example playbook

---
- hosts: host-server
  tasks:
  - import_role:
    name: ansible-role-host-server
    tasks_from: kvm.yml

Related projects

Automating the host server configuration was useful during the development of these Terraform projects:

Releases

No releases published

Packages

No packages published

Languages