Compare commits
3 Commits
b22a1a5641
...
84e3922e2f
Author | SHA1 | Date | |
---|---|---|---|
84e3922e2f | |||
758c7f8c4e | |||
2682360755 |
@ -93,7 +93,7 @@ services:
|
||||
container_name: calibre
|
||||
ports:
|
||||
- "8219:8080"
|
||||
- "8220:8081"
|
||||
- "8081:8081"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
PUID: 1000
|
||||
|
@ -9,3 +9,6 @@ all:
|
||||
dev:
|
||||
hosts:
|
||||
localhost:
|
||||
onprem:
|
||||
hosts:
|
||||
hatchery:
|
||||
|
38
deployments/serverBuild/onprem.yml
Normal file
38
deployments/serverBuild/onprem.yml
Normal file
@ -0,0 +1,38 @@
|
||||
- hosts: onprem
|
||||
remote_user: josiah
|
||||
gather_facts: false
|
||||
become: yes
|
||||
vars:
|
||||
create_user: josiah
|
||||
sys_packages: [ 'curl', 'vim', 'git', '', 'emacs', 'build-essential' ]
|
||||
|
||||
tasks:
|
||||
- name: Install aptitude using apt
|
||||
apt: name=aptitude state=latest update_cache=yes force_apt_get=yes
|
||||
|
||||
- name: Install required system packages for docker install
|
||||
apt: name={{ item }} state=latest update_cache=yes
|
||||
loop: [ 'apt-transport-https', 'ca-certificates', 'software-properties-common' ]
|
||||
|
||||
- name: Add Docker GPG apt Key
|
||||
apt_key:
|
||||
url: https://download.docker.com/linux/debian/gpg
|
||||
state: present
|
||||
|
||||
- name: Add Docker Repository
|
||||
apt_repository:
|
||||
repo: deb https://download.docker.com/linux/ubuntu bionic stable
|
||||
state: present
|
||||
|
||||
- name: Update apt
|
||||
apt: update_cache=yes
|
||||
|
||||
- name: Install required system packages
|
||||
apt: name={{ sys_packages }} state=latest
|
||||
|
||||
- name: add 'josiah' to docker group
|
||||
user:
|
||||
name='josiah'
|
||||
groups=docker
|
||||
append=yes
|
||||
|
Loading…
Reference in New Issue
Block a user