Updated some permissions on conf files
authorLuke Hoersten <luke@hoersten.org>
Mon, 10 Feb 2020 07:49:58 -0600
changeset 7 dc3fca0131a7
parent 6 3b1f18f6a5a4
child 8 20975062661d
Updated some permissions on conf files
aws-s3-backup/tasks/main.yaml
rpi-base/tasks/main.yml
--- a/aws-s3-backup/tasks/main.yaml	Sun Feb 09 20:56:26 2020 -0600
+++ b/aws-s3-backup/tasks/main.yaml	Mon Feb 10 07:49:58 2020 -0600
@@ -10,7 +10,7 @@
 
 - name: create aws config dir for root
   become: yes
-  file: path="/root/.aws/" state="directory" mode="0755"
+  file: path="/root/.aws/" state="directory" mode="0700"
 
 - name: configure aws credentials for root
   become: yes
--- a/rpi-base/tasks/main.yml	Sun Feb 09 20:56:26 2020 -0600
+++ b/rpi-base/tasks/main.yml	Mon Feb 10 07:49:58 2020 -0600
@@ -23,7 +23,7 @@
 
 - name: setup wifi
   become: yes
-  template: src="wpa_supplicant.conf.j2" dest="/etc/wpa_supplicant/wpa_supplicant.conf" mode="0644"
+  template: src="wpa_supplicant.conf.j2" dest="/etc/wpa_supplicant/wpa_supplicant.conf" mode="0600"
 
 - name: update apt package cache
   become: yes