Skip to content

Instantly share code, notes, and snippets.

=== playbook.yml
- role: nginx.vhost
nginx_vhost:
name: "test"
domain: "test.example.com"
ssl: True
=== nginx.vhost/main.yml
- include_tasks: create_vhost.yml
vars:
vhost_config_override:
type: "application"
redirect_type: "slow"
redicect: True
@jficz
jficz / PKGBUILD
Last active March 20, 2018 12:08
nextcloud-client PKGBUILD inspired by Alpine's APKBUILD
# Contributor: Jakub Fiser <kuba(_)ufiseru_cz>
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=nextcloud-client
pkgver=2.3.3
pkgrel=1
pkgdesc="Nextcloud Desktop Client"
url="https://github.com/nextcloud/client_theming"
arch=("any")
license=("GPL2")
Apr 14 13:00:02 archbox kernel: Linux version 4.15.17-1-ck-ivybridge (squishy@ease) (gcc version 7.3.1 20180312 (GCC)) #1 SMP PREEMPT Thu Apr 12 16:46:40 EDT 2018
Apr 14 13:00:02 archbox kernel: Command line: \\boot\vmlinuz-linux-ck-ivybridge verbose scsi_mod.use_blk_mq=y dm_mod.use_blk_mq=y intel_pstate=disable cryptdevice=/dev/disk/by-partlabel/crypt0:crypt0 root=/dev/mapper/crypt0 zfs=tank/SYS/root rw initrd=boot\initramfs-linux-ck-ivybridge.img
Apr 14 13:00:02 archbox kernel: KERNEL supported cpus:
Apr 14 13:00:02 archbox kernel: Intel GenuineIntel
Apr 14 13:00:02 archbox kernel: AMD AuthenticAMD
Apr 14 13:00:02 archbox kernel: Centaur CentaurHauls
Apr 14 13:00:02 archbox kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Apr 14 13:00:02 archbox kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Apr 14 13:00:02 archbox kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Apr 14 13:00:02 archbox kernel: x86/fpu: xstate_offset[2]: 576, xstate_siz
Failed assertions:
- The ‘fileSystems’ option does not specify your root file system.
- You must set the option ‘boot.loader.grub.devices’ or 'boot.loader.grub.mirroredBoots' to make the system bootable.
lxc-start arch 20181112132015.719 INFO utils - utils.c:get_rundir:264 - XDG_RUNTIME_DIR isn't set in the environment.
lxc-start arch 20181112132015.722 INFO confile - confile.c:set_config_idmaps:1542 - Read uid map: type u nsid 0 hostid 100000 range 1000
lxc-start arch 20181112132015.722 INFO confile - confile.c:set_config_idmaps:1542 - Read uid map: type g nsid 0 hostid 100000 range 1000
lxc-start arch 20181112132015.724 INFO lsm - lsm/lsm.c:lsm_init:47 - LSM security driver AppArmor
lxc-start arch 20181112132015.726 INFO seccomp - seccomp.c:parse_config_v2:757 - Processing "reject_force_umount"
lxc-start arch 20181112132015.726 INFO seccomp - seccomp.c:do_resolve_add_rule:503 - Set seccomp rule to reject force umounts
lxc-start arch 20181112132015.726 INFO seccomp - seccomp.c:parse_config_v2:934 - Added native rule for arch 0 for reject_force_umount action 0(kill)
lxc-start arch 20181112132015.726 INFO seccomp - seccomp.c:do_resolve_add_rule:503 - Set seccomp rule to reject f
self: super:
{
claws-mail = super.claws-mail.overrideAttrs (oldAttrs: rec {
override = { enablePluginVcalendar = true;};
buildInputs = oldAttrs.buildInputs ++ [ super.libical ];
});
}
installing 'python3.7-hacking-1.1.0'
these derivations will be built:
/nix/store/l9gqh63w1z4lbbkyrra1swhamjwmywnk-python3.7-hacking-1.1.0.drv
building '/nix/store/l9gqh63w1z4lbbkyrra1swhamjwmywnk-python3.7-hacking-1.1.0.drv'...
unpacking sources
unpacking source archive /nix/store/wv08737wix6png84a7cpkc7gbi2y4rci-hacking-1.1.0.tar.gz
source root is hacking-1.1.0
setting SOURCE_DATE_EPOCH to timestamp 1525785645 of file hacking-1.1.0/setup.cfg
patching sources
configuring
Collecting pyghmi
Using cached https://files.pythonhosted.org/packages/22/c7/91e029ee9a1d31fb80b83d501e290ea282d1a61e0a97c961a2bfcafe6142/pyghmi-1.2.16.tar.gz
Collecting cryptography>=2.1 (from pyghmi)
Using cached https://files.pythonhosted.org/packages/07/ca/bc827c5e55918ad223d59d299fff92f3563476c3b00d0a9157d9c0217449/cryptography-2.6.1.tar.gz
Installing build dependencies ... error
Complete output from command /home/miky/work/sizmek/git/ansible-kickstart/venv/bin/python3.7 /home/miky/work/sizmek/git/ansible-kickstart/venv/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-_otemil4/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools>=18.5 wheel "cffi>=1.8,!=1.11.3; python_implementation != 'PyPy'":
Collecting setuptools>=18.5
Using cached https://files.pythonhosted.org/packages/d1/6a/4b2fcefd2ea0868810e92d519dacac1ddc64a2e53ba9e3422c3b62b378a6/setuptools-40.8.0-py2.py3-none-any.whl
Co
@jficz
jficz / gist:71f1d50c4ea0ffa3662fa44a70fa6196
Created April 8, 2019 15:28
ovirt failed dependencies
Error: Package: libreport-2.1.11-40.el7.centos.x86_64 (base)
Requires: libreport-filesystem = 2.1.11-40.el7.centos
Installed: libreport-filesystem-2.1.11-42.el7.centos.x86_64 (@base)
libreport-filesystem = 2.1.11-42.el7.centos
Available: libreport-filesystem-2.1.11-40.el7.centos.x86_64 (base)
libreport-filesystem = 2.1.11-40.el7.centos
Error: Package: rsyslog-elasticsearch-8.24.0-16.el7_5.4.x86_64 (updates)
Requires: rsyslog = 8.24.0-16.el7_5.4
Installed: rsyslog-8.24.0-34.el7.x86_64 (@base)
rsyslog = 8.24.0-34.el7