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

This commit is contained in:
Salt 2020-08-23 22:41:20 -05:00
commit dccb7419ac
5 changed files with 7 additions and 6 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: all
- hosts: dbservers,webservers,gameservers
serial: 1
tasks:
- name: Check for reboot-required

View File

@ -9,7 +9,7 @@ User=ansible
Group=ansible
Environment=ANSIBLE_CONFIG=~/ansible-pull-repo/ansible-pull.cfg
ExecStart=/usr/local/bin/ansible-pull --accept-host-key -U "{{ ansible_pull_repo }}" -d "~/ansible-pull-repo" --vault-password-file "~/ansiblevaultpass" "{{ ansible_pull_playbook }}"
Restart=always
Restart=on-failure
RestartSec=90
[Install]

View File

@ -17,8 +17,6 @@
loop:
# Works around a bug where this causes failed logins
- "/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
template:
src: "{{ item.src }}"

View File

@ -23,8 +23,8 @@ if ! [ -d "$OUTDIR" ]; then
return 2
fi
fi
# Enforce permissions on our output directory since the git user will need them
chown root.git "$OUTDIR"
# Enforce permissions on our output directory
chown root. "$OUTDIR"
chmod 770 "$OUTDIR"
# Purge oldest backup if we need to

View File

@ -24,6 +24,9 @@ config :pleroma, :media_proxy,
enabled: false,
redirect_on_failure: true
# Use in-db configs
config :pleroma, configurable_from_database: true
# DB configuration
config :pleroma, Pleroma.Repo,
adapter: Ecto.Adapters.Postgres,