Changelog

debops.bootstrap

This project adheres to Semantic Versioning and human-readable changelog.

The current role maintainer is drybjed.

debops.bootstrap v0.3.3 - 2017-01-19

Added

  • Added support for Ansible 2.0 and higher where ansible_ssh_user is deprecated and replaced by ansible_user. [tallandtree]
  • Change the apt module to package to make the role more generic. [JeanVEGA]
  • Use the inventory_hostname variable as a default source of the host's domain instead of ansible_domain variable. [drybjed]

debops.bootstrap v0.3.2 - 2016-09-13

Fixed

  • Fix an issue where disabled admin account management resulted in an error. Now, getent database is always checked, therefore other tasks can be correctly skipped by Ansible. [drybjed]

debops.bootstrap v0.3.1 - 2016-08-14

Fixed

debops.bootstrap v0.3.0 - 2016-08-13

Changed

Removed

  • The bootstrap__admin_name variable has been removed due to changes in admin account support. [drybjed]
  • The bootstrap__admin_manage_existing variable has been removed due to changes in admin account support. Role now detects existing account parameters and preserves them unless configured specifically to change them. [drybjed]

debops.bootstrap v0.2.2 - 2016-07-18

Added

Changed

  • Explicitly set !requiretty for the bootstrap__sudo_group (sudoers(5)). This ensures that sudo with rsync is allowed for the bootstrap__sudo_group even when requiretty has been configured to be the default for users. [ypid]
  • Split the role into two roles, debops.bootstrap/raw and debops.bootstrap. This allows use of separate plays for each role, the first one without any environment variables, the second one that works normally. [drybjed]
  • Update documentation and Changelog. [drybjed]
  • Move the conditional check for POSIX capabilities to default variables. [drybjed]

debops.bootstrap v0.2.1 - 2016-05-28

Changed

  • Small fixes and documentation updates. [drybjed]

debops.bootstrap v0.2.0 - 2016-05-07

Added

  • Added role::bootstrap:packages and role::bootstrap:admin tags. [ypid]

Changed

  • Reworked tasks and conditions. [ypid]

  • Changed variable namespace from bootstrap_ to bootstrap__. bootstrap_[^_] variables are hereby deprecated.

    You might need to update your inventory. This oneliner might come in handy to do this:

    git ls-files -z | xargs --null -I '{}' find '{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's/\<(bootstrap)_([^_])/\1__\2/g;'
    

    [ypid]

Fixed

  • Fixed incorrectly evaluated bootstrap_admin_system variable since "Clean up task logic" in v0.1.2. [ypid]

debops.bootstrap v0.1.2 - 2016-02-08

Changed

  • Preserve existing DNS domain if any has been detected by Ansible. This solves an issue where an existing domain is removed from a host when bootstrap_domain is not defined in inventory. [drybjed]
  • Change the way ansible_ssh_user variable is detected. [drybjed]
  • Clean up task logic. [drybjed]
  • Change the hostname only when current one differs. [drybjed]

Fixed

  • Fix deprecation warnings in Ansible 2.1.0. [drybjed]

debops.bootstrap v0.1.1 - 2015-11-07

Added

  • Added a IPv6 entry to /etc/hosts for the FQDN of the host pointing to the IPv6 loopback address "::1". Not enabled by default because it might break something. Can be enabled by setting bootstrap_hostname_v6_loopback to True. [ypid]

Changed

  • Update the task list so that correct hostname is set in /etc/hosts even when bootstrap_domain is not specified. [drybjed]
  • Don't try and set SSH public key on root account when admin account management is disabled. [drybjed]
  • Replace the quotes in lineinfile module to prevent issues with \t characters on Ansible v2. [drybjed]

Fixed

  • Remove the "n" from /etc/hostname content line to prevent issues on Ansible v2. [drybjed]
  • Fix issue with empty ansible_ssh_user on Ansible v2. [drybjed]

debops.bootstrap v0.1.0 - 2015-07-14

Added