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 #!/usr/bin/env ansible-playbook
# vim:ft=ansible: # vim:ft=ansible:
--- ---
- hosts: all - hosts: dbservers,webservers,gameservers
serial: 1 serial: 1
tasks: tasks:
- name: Check for reboot-required - name: Check for reboot-required

View File

@ -9,7 +9,7 @@ User=ansible
Group=ansible Group=ansible
Environment=ANSIBLE_CONFIG=~/ansible-pull-repo/ansible-pull.cfg 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 }}" 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 RestartSec=90
[Install] [Install]

View File

@ -17,8 +17,6 @@
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 }}"

View File

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

View File

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