Merge branch 'master' of git.9iron.club:salt/ansible

This commit is contained in:
Salt 2020-07-08 04:07:42 -05:00
commit afd74edc65
2 changed files with 12 additions and 0 deletions

View File

@ -9,6 +9,16 @@
password_lock: yes password_lock: yes
system: yes system: yes
become: yes become: yes
- name: Ensure perms on Ansible user home
file:
path: "/home/ansible"
mode: "0700"
- name: Ensure ownership of Ansible user home
file:
path: "/home/ansible"
owner: ansible
group: ansible
recurse: yes
- name: Add Ansible key to user - name: Add Ansible key to user
authorized_key: authorized_key:
user: ansible user: ansible

View File

@ -17,6 +17,8 @@
loop: loop:
# Works around a bug where this causes failed logins # Works around a bug where this causes failed logins
- "/etc/X11/Xsession.d/70im-config_launch" - "/etc/X11/Xsession.d/70im-config_launch"
# Works around SDDM never actually sourcing a user's xsessionrc
- "/etc/X11/Xsession.d/99x11-common_start"
- name: Copy system configs - name: Copy system configs
template: template:
src: "{{ item.src }}" src: "{{ item.src }}"