moved all playbooks under homelab/playbooks

pull/1/head
Cian Hatton 3 years ago
parent cb0a3dc54e
commit 848a75b19c

@ -0,0 +1,9 @@
---
- hosts: servers
become: true
tasks:
- name: Checkout Git Repos
import_tasks: ../tasks/checkout-git-repos-tasks.yml
- name: Restart Dashy
ansible.builtin.command: docker restart dashy

@ -4,4 +4,10 @@
repo: 'https://github.com/chatton/HomeLab.git'
dest: /home/cianhatton/checkouts/HomeLab
force: true
version: master
version: master
- name: Change Ownership
file:
path: /home/cianhatton/checkouts/HomeLab
owner: cianhatton
group: cianhatton

@ -1,19 +0,0 @@
---
- hosts: servers
become: true
tasks:
- name: Git checkout
ansible.builtin.git:
repo: 'https://github.com/chatton/HomeLab.git'
dest: /home/cianhatton/checkouts/HomeLab
force: true
version: master
- name: Change Ownership
file:
path: /home/cianhatton/checkouts/HomeLab
owner: cianhatton
group: cianhatton
- name: Restart Dashy
ansible.builtin.command: docker restart dashy
Loading…
Cancel
Save