Clean up file permissions
This commit is contained in:
parent
805bcc739e
commit
b4394f52af
@ -8,9 +8,9 @@
|
||||
pip: name=ansible<5,ansible-lint state=latest
|
||||
when: ansible_os_family != "Gentoo"
|
||||
- name: configure systemd service
|
||||
template: src=ansible-pull.service dest=/etc/systemd/system/ansible-pull.service
|
||||
template: src=ansible-pull.service dest=/etc/systemd/system/ansible-pull.service mode=0644
|
||||
- name: configure systemd timer
|
||||
template: src=ansible-pull.timer dest=/etc/systemd/system/ansible-pull.timer
|
||||
template: src=ansible-pull.timer dest=/etc/systemd/system/ansible-pull.timer mode=0644
|
||||
notify: restart ansiblepull timer
|
||||
- name: enable timer
|
||||
systemd: daemon_reload=yes name=ansible-pull.timer enabled=yes state=started
|
||||
|
@ -4,9 +4,9 @@
|
||||
- name: template out backup script
|
||||
template: src={{ backup_script }}.sh dest=/opt/backup.sh mode=0700 owner=root group=root
|
||||
- name: configure systemd service
|
||||
template: src=backup.service dest=/etc/systemd/system/backup.service
|
||||
template: src=backup.service dest=/etc/systemd/system/backup.service mode=0644
|
||||
- name: configure systemd timer
|
||||
template: src=backup.timer dest=/etc/systemd/system/backup.timer
|
||||
template: src=backup.timer dest=/etc/systemd/system/backup.timer mode=0644
|
||||
notify: restart backup timer
|
||||
- name: enable timer
|
||||
systemd: name=backup.timer state=started enabled=yes daemon_reload=yes
|
||||
|
@ -8,4 +8,4 @@
|
||||
timezone: name=America/Chicago
|
||||
notify: restart cron
|
||||
- name: configure shell profile
|
||||
template: src=profile.sh dest=/etc/profile.d/50-ansible.sh
|
||||
template: src=profile.sh dest=/etc/profile.d/50-ansible.sh mode=0644
|
||||
|
@ -2,9 +2,9 @@
|
||||
# vim:ft=ansible:
|
||||
---
|
||||
- name: assure xorg.conf.d
|
||||
file: path=/etc/X11/xorg.conf.d state=directory
|
||||
file: path=/etc/X11/xorg.conf.d state=directory mode=0755
|
||||
- name: configure X misc
|
||||
template: src={{ item }} dest=/etc/X11/xorg.conf.d/{{ item }}
|
||||
template: src={{ item }} dest=/etc/X11/xorg.conf.d/{{ item }} mode=0644
|
||||
loop:
|
||||
# Disables mouse acceleration on all mouse peripherals
|
||||
- 90-mouse-acceleration.conf
|
||||
|
@ -2,6 +2,6 @@
|
||||
# vim:ft=ansible:
|
||||
---
|
||||
- name: configure udev rules
|
||||
lineinfile: path=/etc/udev/rules.d/50-ansible.rules line={{ item }} create=yes
|
||||
lineinfile: path=/etc/udev/rules.d/50-ansible.rules line={{ item }} create=yes mode=0644
|
||||
loop: "{{ udev_rules }}"
|
||||
notify: reload udev
|
||||
|
@ -13,7 +13,7 @@
|
||||
apt: name=zerotier-one
|
||||
when: ansible_pkg_mgr == "apt"
|
||||
- name: template unit file
|
||||
template: src=zerotier-one.service dest=/etc/systemd/system/zerotier-one.service
|
||||
template: src=zerotier-one.service dest=/etc/systemd/system/zerotier-one.service mode=0644
|
||||
notify: restart zerotier
|
||||
- name: join network
|
||||
command:
|
||||
|
Loading…
Reference in New Issue
Block a user