+ Initial setup of server is complete, docker playbooks now ready to fire

This commit is contained in:
shockrah 2022-01-21 14:03:19 -08:00
parent 655a66241c
commit f85a7c5646
3 changed files with 12 additions and 19 deletions

View File

@ -14,25 +14,10 @@
- software-properties-common
- lsb-release
- name: Install docker GPG key
apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
state: present
- name: Add Docker Apt Repo
apt_repository:
repo: deb https://download.docker.com/linux/ubuntu impish stable
state: present
- name: Install Docker components
- name: Install Docker
apt:
name: "{{item}}"
name: docker.io
update_cache: yes
loop:
- docker-ce
- docker-ce-cli
- containerd.io

View File

@ -2,5 +2,10 @@
---
- hosts: leftcoastlab
tasks:
- name: Say hi
command: echo hi
- name: Import Global Vars
include_vars:
dir: ../vars
- import_playbook: 'system-update.yml'
- import_playbook: 'install-docker.yml'

View File

@ -0,0 +1,3 @@
---
# vars file for setup
DEBIAN_CODENAME: sid