Clean up file permissions

This commit is contained in:
Salt 2021-07-01 12:12:06 -05:00
parent 805bcc739e
commit b4394f52af
6 changed files with 9 additions and 9 deletions

View File

@ -8,9 +8,9 @@
pip: name=ansible<5,ansible-lint state=latest pip: name=ansible<5,ansible-lint state=latest
when: ansible_os_family != "Gentoo" when: ansible_os_family != "Gentoo"
- name: configure systemd service - 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 - 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 notify: restart ansiblepull timer
- name: enable timer - name: enable timer
systemd: daemon_reload=yes name=ansible-pull.timer enabled=yes state=started systemd: daemon_reload=yes name=ansible-pull.timer enabled=yes state=started

View File

@ -4,9 +4,9 @@
- name: template out backup script - name: template out backup script
template: src={{ backup_script }}.sh dest=/opt/backup.sh mode=0700 owner=root group=root template: src={{ backup_script }}.sh dest=/opt/backup.sh mode=0700 owner=root group=root
- name: configure systemd service - 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 - 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 notify: restart backup timer
- name: enable timer - name: enable timer
systemd: name=backup.timer state=started enabled=yes daemon_reload=yes systemd: name=backup.timer state=started enabled=yes daemon_reload=yes

View File

@ -8,4 +8,4 @@
timezone: name=America/Chicago timezone: name=America/Chicago
notify: restart cron notify: restart cron
- name: configure shell profile - 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

View File

@ -2,9 +2,9 @@
# vim:ft=ansible: # vim:ft=ansible:
--- ---
- name: assure xorg.conf.d - 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 - 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: loop:
# Disables mouse acceleration on all mouse peripherals # Disables mouse acceleration on all mouse peripherals
- 90-mouse-acceleration.conf - 90-mouse-acceleration.conf

View File

@ -2,6 +2,6 @@
# vim:ft=ansible: # vim:ft=ansible:
--- ---
- name: configure udev rules - 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 }}" loop: "{{ udev_rules }}"
notify: reload udev notify: reload udev

View File

@ -13,7 +13,7 @@
apt: name=zerotier-one apt: name=zerotier-one
when: ansible_pkg_mgr == "apt" when: ansible_pkg_mgr == "apt"
- name: template unit file - 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 notify: restart zerotier
- name: join network - name: join network
command: command: