+ Initial setup of server is complete, docker playbooks now ready to fire
This commit is contained in:
parent
655a66241c
commit
f85a7c5646
@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -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'
|
||||
|
3
docker-host/setup/vars/main.yml
Normal file
3
docker-host/setup/vars/main.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
# vars file for setup
|
||||
DEBIAN_CODENAME: sid
|
Loading…
Reference in New Issue
Block a user