+ 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
|
- 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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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'
|
||||||
|
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