Do the same for gitweb role

This commit is contained in:
Salt 2020-02-20 03:51:13 -06:00
parent cb4cb59f32
commit e8cd7dc58a

View File

@ -9,13 +9,11 @@
file: file:
path: "{{ gitweb_webroot }}" path: "{{ gitweb_webroot }}"
mode: "0755" mode: "0755"
recurse: yes
state: directory state: directory
- name: Clone repo - name: Clone repo
git: git:
repo: "{{ gitweb_repo }}" repo: "{{ gitweb_repo }}"
dest: "{{ gitweb_webroot }}" dest: "{{ gitweb_webroot }}"
force: yes
- name: Register certificates - name: Register certificates
block: block:
- name: Configure insecure virtual host configs - name: Configure insecure virtual host configs