moved all playbooks under homelab/playbooks
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
|
||||
@ -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…
Reference in New Issue