Skip to content
Snippets Groups Projects
Commit 8bd5a7f7 authored by Lars Beckers's avatar Lars Beckers
Browse files

debian-updates: fix file permissions

parent c8fc3b46
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
tags: tags:
- debian-updates - debian-updates
# https://github.com/ansible/ansible/issues/27699
- name: ensure fucking git module is able to clone - name: ensure fucking git module is able to clone
command: mount -o remount,exec /tmp command: mount -o remount,exec /tmp
tags: tags:
...@@ -41,7 +42,7 @@ ...@@ -41,7 +42,7 @@
copy: copy:
src: /opt/debian-updates/apticron.json.example src: /opt/debian-updates/apticron.json.example
dest: /opt/debian-updates/apticron.json dest: /opt/debian-updates/apticron.json
mode: 0644 mode: 0666 # mail is delivered by nobody
owner: root owner: root
group: root group: root
remote_src: True remote_src: True
...@@ -49,6 +50,17 @@ ...@@ -49,6 +50,17 @@
tags: tags:
- debian-updates - debian-updates
- name: ensure the lock file exists
copy:
content: "" # no, the file module is not sufficient
dest: /opt/debian-updates/.json-sync.lock
owner: root
group: root
mode: 0666 # mail is delivered by nobody
force: False
tags:
- debian-updates
- name: ensure our config is deployed - name: ensure our config is deployed
template: template:
src: config.py.j2 src: config.py.j2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment