/ansible-poudriere-role

ansible role to install poudriere, clean room package builder for FreeBSD

Primary LanguageRubyCreative Commons Zero v1.0 UniversalCC0-1.0

uchida.poudriere

Ansible Role Version License Travis

ansible role to install poudriere, clean room package builder for FreeBSD. In addition, this role creates default ports tree and builder jail.

Role Variables

Available role variables are listed below, along with default values:

poudriere_zpool: zroot
poudriere_jail: "FreeBSD:9:amd64"
poudriere_jailversion: 9.3-RELEASE
poudriere_portsmethod: portsnap

poudriere_zpool is a variable to specify zpool name, when available, poudriere use this zpool.

poudriere_jail and poudriere_jailversion are variables to specify builder jail name and its FreeBSD version.

poudriere_portsmethod a variable to specify how to fetch and manage poudriere ports tree, it could be one of the following values:

  • portsnap (default)
  • svn
  • svn+http
  • svn+https
  • svn+ssh
  • git
  • none

Example Playbook

install poudriere with tank zpool.

- hosts: servers
  roles:
  - { role: uchida.poudriere, poudriere_zpool: tank }

creates 9.3-RELEASE and 10.2-RELEASE builder.

- hosts: servers
  roles:
  - role: uchida.poudriere
    poudriere_jail: "FreeBSD:9:amd64"
    poudriere_jailversion: 9.3-RELEASE
  - role: uchida.poudriere
    poudriere_jail: "FreeBSD:10:amd64"
    poudriere_jailversion: 10.2-RELEASE

creates 10.2-RELEASE builder and git ports tree.

- hosts: servers
  roles:
  - role: uchida.poudriere
    poudriere_jail: "FreeBSD:10:amd64"
    poudriere_jailversion: 10.2-RELEASE
    poudriere_portsmethod: git

License

CC0

dedicated to public domain, no rights reserved.