Skip to content

Running the doom game in a container using ansible and podman

Notifications You must be signed in to change notification settings

darrenlavery91/Doom-in-Podman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Doom-in-Podman: Ansible Playbooks for Managing the Doom Game Container

This repository provides Ansible playbooks for seamless management of the Doom Game container using Podman.

Usage:

Install Ansible:

Linux (Red Hat):

sudo yum install -y ansible

Mac (via Brew):

brew install ansible
  1. Create the directory in your user space:

    mkdir -p ~/ansible/
    cd ~/ansible
  2. Create the ansible.cfg file:

    vim ansible.cfg

    Add the following configuration and save:

    [defaults]
    inventory=./inventory
  3. Create the inventory file:

    vim inventory

    Add the following, replacing your-local-ip with your actual local IP:

    [localhost]
    your-local-ip ansible_connection=local

    Example:

    [localhost]
    192.168.101.214 ansible_connection=local
  4. Run ansible --version to verify if the configuration file has been picked up.

Install Podman:

Red Hat (RHEL):

sudo yum install -y podman

Mac (via Brew):

brew install podman

Silicon Macs (M1):

To start the Podman machine on Silicon Macs (M1), use the following command:

podman machine start
  1. Run the Ansible playbook to start the Doom Game container:

    ansible-playbook doom_pod.yml.yml
  2. After successful execution, access the Doom Game through the provided URL.

  3. Run the Ansible playbook to stop and remove the Doom Game container:

    ansible-playbook doom_pod-rm.yml

Note:

  • Customize the playbooks according to your specific requirements.
  • Ensure proper network configurations and permissions for successful execution.
  • A big thank you to CallumHoughton18 for their contributions.

About

Running the doom game in a container using ansible and podman

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published