adding git repo and starting of portainer

pull/1/head
Cian Hatton 3 years ago
parent b3e1a62086
commit f62ce9469e

@ -1,8 +1,8 @@
--- ---
- hosts: servers - hosts: servers
become: true
tasks: tasks:
- name: Update and upgrade apt packages - name: Update and upgrade apt packages
become: true
apt: apt:
upgrade: yes upgrade: yes
update_cache: yes update_cache: yes
@ -14,6 +14,9 @@
state: latest state: latest
update_cache: true update_cache: true
- name: Checkout Git Repos
import_tasks: ../tasks/checkout-git-repos-tasks.yml
- name: Install & Configure Sudo - name: Install & Configure Sudo
import_tasks: ../tasks/install-sudo-tasks.yml import_tasks: ../tasks/install-sudo-tasks.yml
@ -22,3 +25,6 @@
- name: Install Docker - name: Install Docker
import_tasks: ../tasks/install-docker-tasks.yml import_tasks: ../tasks/install-docker-tasks.yml
- name: Start Portainer
command: chdir=/home/cianhatton/checkouts/HomeLab/docker-compose/portainer docker compose up -d

Loading…
Cancel
Save