ansible playbook commenced; deployment aimed at staging.earthmanrpg.me

This commit is contained in:
Disco DeDisco
2026-01-13 00:35:28 -05:00
parent 53099f630d
commit eb38722a53
21 changed files with 817 additions and 790 deletions

1
.gitignore vendored
View File

@@ -136,6 +136,7 @@ celerybeat.pid
# Environments
.env
.venv
.venv-wsl
env/
venv/
ENV/

View File

@@ -0,0 +1,26 @@
- hosts: all
tasks:
- name: Install docker
ansible.builtin.apt:
name: docker.io
state: latest
update_cache: true
become: true
- name: Add our user to the docker group, so we don't need sudo/become
ansible.builtin.user:
name: '{{ ansible_user }}'
groups: docker
append: true # don't remove any existing groups
become: true
- name: Reset ssh connection to allow the user/group change to take effect
ansible.builtin.meta: reset_connection
- name: Run test container
community.docker.docker_container:
name: testcontainer
state: started
image: busybox
command: echo howdy partner