Skip to content
Snippets Groups Projects
Commit 1dec93a9 authored by MyIgel's avatar MyIgel :fire:
Browse files

API: Community: Fetch from github

Fixed $stuff
parent 5049778b
Branches
No related tags found
1 merge request!146API: Community: Fetch from github
Pipeline #
......@@ -4,9 +4,9 @@
api_create_srv_www_community_api:
file.directory:
- name: /srv/www/{{ api_domain }}/htdocs
- user: www-data
- group: www-data
- name: /srv/www/{{ api_domain }}/htdocs
api_update_community_repository:
git.latest:
......@@ -20,6 +20,7 @@ api_update_community_repository:
- onchanges:
- cmd: api_run_update_community_json
file.directory:
-name: {{ api_community_json }}
- user: www-data
- group: www-data
- recurse:
......@@ -49,10 +50,10 @@ api_place_community_updater_script:
api_update_community_crontab:
cron.present:
- name: {{ api_update_community_command }}
- identifier: api-updater
- user: freifunk
- minute: '*/5'
- name: {{ api_update_community_command }}
- require:
- user: freifunk
- file: api_place_community_updater_script
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment