This commit is contained in:
Mende
2020-12-08 09:42:53 +01:00
parent 61bde53219
commit 5b9c8d6303
3 changed files with 10 additions and 21 deletions
+10 -2
View File
@@ -2,6 +2,14 @@
- hosts: www.solusar.de
become: true
vars_files:
- directories.yml
roles:
- cael.git
tasks:
- name: pull new stuff into cloned git repos
shell: git pull
args:
chdir: "{{ item.path }}"
executable: /bin/bash
with_items: "{{ git_directories }}"
-19
View File
@@ -1,19 +0,0 @@
---
- name: ensure git
package:
name: git
state: present
#- name: register directorys in defaults/main.yml
# find:
# paths: "{{ git_directories }}"
# file_type: directory
# register: found_directories
- name: pull latest changes
shell: git pull
args:
chdir: "{{ item.path }}"
executable: /bin/bash
with_items: "{{ git_directories }}"