+ 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 - software-properties-common
- lsb-release - lsb-release
- name: Install docker GPG key - name: Install Docker
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
apt: apt:
name: "{{item}}" name: docker.io
update_cache: yes update_cache: yes
loop:
- docker-ce
- docker-ce-cli
- containerd.io

View File

@ -2,5 +2,10 @@
--- ---
- hosts: leftcoastlab - hosts: leftcoastlab
tasks: tasks:
- name: Say hi - name: Import Global Vars
command: echo hi 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