debops.debops default variables

DebOps packages

debops__base_packages

List of APT packages required by DebOps on Ansible Controller.

debops__base_packages: [ 'python-dnspython', 'python-ldap',
                         'python-netaddr', 'python-passlib',
                         'uuid-runtime', 'python-setuptools' ]
debops__packages

List of additional APT packages to install with DebOps.

debops__packages: []
debops__pip_packages

List of packages to install from PyPI using the pip command.

debops__pip_packages: [ 'debops' ]

Playbook and role installation

debops__install_systemwide

Download playbooks and roles to a system-wide location, on installation. If set to False the playbooks and roles will be installed locally for the current Ansible user.

debops__install_systemwide: True
debops__update_method

Specify the method which should be used to download playbooks and roles:

  • batch: use the batch command from the at package, depends on system load, sends back email with results;
  • async: use async Ansible support, does not create any output;
  • sync: immediately sync and only continue after everything is in place
debops__update_method: '{{ ("batch"
                            if (ansible_local|d() and ansible_local.atd|d() and
                                ansible_local.atd.enabled|bool)
                            else "async") }}'
debops__async_timeout

Specify timeout of the async Ansible command that downloads DebOps playbooks and roles, in seconds.

debops__async_timeout: '{{ (60 * 20) }}'

DebOps system-wide configuration

debops__data_path

Path where DebOps playbooks and roles will be installed system-wide.

debops__data_path: '{{ (ansible_local.root.share
                        if (ansible_local|d() and ansible_local.root|d() and
                            ansible_local.root.share|d())
                        else "/usr/local/share") + "/debops" }}'

DebOps project configuration

debops__project_git_repo

Git URL to a DebOps project repository which will be cloned after installing DebOps.

debops__project_git_repo: ''
debops__project_name

Name of a new DebOps project to initialize or name of the project download directory in case debops__project_git_repo is defined.

debops__project_name: ''