debops.controller default variables

APT packages

controller__base_packages

List of APT packages required on Ansible Controller.

controller__base_packages: [ 'git', 'uuid-runtime' ]
controller__packages

List of additional APT packages to install on the Ansible Controller.

controller__packages: []
controller__pip_packages

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

controller__pip_packages: [ 'debops' ]

Playbook and role installation

controller__install_systemwide

Download DebOps 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.

controller__install_systemwide: True
controller__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

controller__update_method: '{{ ("batch"
                                if (ansible_local | d() and ansible_local.atd | d() and
                                    ansible_local.atd.enabled | bool)
                                else "async") }}'
controller__async_timeout

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

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

DebOps system-wide configuration

controller__data_path

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

controller__data_path: '{{ (ansible_local.fhs.share | d("/usr/local/share"))
                            + "/debops" }}'

DebOps project configuration

controller__project_git_repo

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

controller__project_git_repo: ''
controller__project_name

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

controller__project_name: ''

Configuration for other Ansible roles

controller__python__dependent_packages3

Configuration for the debops.python Ansible role.

controller__python__dependent_packages3:

  - 'python3-dev'
  - 'python3-dnspython'
  - 'python3-netaddr'
  - 'python3-passlib'
  - 'python3-setuptools'
  - '{{ ([]
         if (ansible_distribution_release in
             ["stretch", "trusty", "xenial"])
         else "python3-ldap") }}'
controller__python__dependent_packages2

Configuration for the debops.python Ansible role.

controller__python__dependent_packages2:

  - 'python-dev'
  - 'python-dnspython'
  - 'python-ldap'
  - 'python-netaddr'
  - 'python-passlib'
  - 'python-setuptools'