Configure Poudriere
By default, the configuration of Poudriere is enabled
poudriere_conf: true
Read FreeBSD Porter’s Handbook 10.5.2. Setting Up Poudriere and see the sample
/usr/local/etc/poudriere.conf.sample
. Customize the variables poudriere_conf_*
and display
the the current values
shell> ansible-playbook pb.yml -t poudriere_debug -e poudriere_debug=true
...
TASK [vbotka.freebsd_poudriere : Poudriere Debug] ************************************************
ok: [build.example.com] =>
msg:
...
- poudriere_conf [True]
- poudriere_conf_file [/usr/local/etc/poudriere.conf]
- poudriere_conf_template [poudriere.conf2.j2]
- poudriere_conf_dir [/usr/local/etc/poudriere.d]
- poudriere_conf_dirs
- '- dir: /usr/ports/distfiles'
- ' group: wheel'
- ' mode: ''0755'''
- ' owner: root'
- ''
- poudriere_conf_zpool [zroot]
- poudriere_conf_no_zfs [no]
- poudriere_conf_zrootfs [/poudriere]
- poudriere_conf_freebsd_host [https://download.freebsd.org]
- poudriere_conf_resolv_conf [/etc/resolv.conf]
- poudriere_conf_basefs [/usr/local/poudriere]
- poudriere_conf_svn_host [svn.FreeBSD.org]
- poudriere_conf_poudriere_data [/usr/local/poudriere/data]
- poudriere_conf_use_portlint [no]
- poudriere_conf_use_tmpfs [no]
- poudriere_conf_distfiles_cache [/usr/ports/distfiles]
- poudriere_conf_url_base [http://build.example.com/]
- poudriere_conf_check_changed_options [verbose]
- poudriere_conf_check_changed_deps [yes]
- poudriere_conf_data
- 'BASEFS: /usr/local/poudriere'
- 'BUILDER_HOSTNAME: build'
- 'CHECK_CHANGED_DEPS: ''yes'''
- 'CHECK_CHANGED_OPTIONS: verbose'
- 'DISTFILES_CACHE: /usr/ports/distfiles'
- 'FREEBSD_HOST: https://download.freebsd.org'
- 'NOLINUX: ''yes'''
- 'NO_ZFS: ''no'''
- 'PKG_REPO_SIGNING_KEY: /usr/local/etc/ssl/private/build.example.com-sk.key'
- 'POUDRIERE_DATA: /usr/local/poudriere/data'
- 'PRESERVE_TIMESTAMP: ''yes'''
- 'RESOLV_CONF: /etc/resolv.conf'
- 'SVN_HOST: svn.FreeBSD.org'
- 'URL_BASE: http://build.example.com/'
- 'USE_COLORS: ''yes'''
- 'USE_PORTLINT: ''no'''
- 'USE_TMPFS: ''no'''
- 'ZPOOL: zroot'
- 'ZROOTFS: /poudriere'
...
Configure Poudriere
shell> ansible-playbook pb.yml -t poudriere_conf -e poudriere_conf=true
Review the configuration
1shell> cat /usr/local/etc/poudriere.conf
2# Ansible managed
3
4ZPOOL=zroot
5NO_ZFS=no
6ZROOTFS=/poudriere
7FREEBSD_HOST=https://download.freebsd.org
8RESOLV_CONF=/etc/resolv.conf
9BASEFS=/usr/local/poudriere
10SVN_HOST=svn.FreeBSD.org
11POUDRIERE_DATA=/usr/local/poudriere/data
12USE_PORTLINT=no
13USE_TMPFS=no
14DISTFILES_CACHE=/usr/ports/distfiles
15PKG_REPO_SIGNING_KEY=/usr/local/etc/ssl/private/build.example.com-sk.key
16URL_BASE=http://build.example.com/
17CHECK_CHANGED_OPTIONS=verbose
18CHECK_CHANGED_DEPS=yes
19NOLINUX=yes
20USE_COLORS=yes
21PRESERVE_TIMESTAMP=yes
22BUILDER_HOSTNAME=build
23
24# EOF
See also
Source code conf.yml
Template poudriere.conf.j2
FreeBSD Porter’s Handbook 10.5.2. Setting Up Poudriere