Fix issue with
bootstrap-ansible.shscript not able to install latest Ansible stable version, make the process more verbose and don't remove the temporary directory by default. [drybjed]
Update Ansible Galaxy role links in
Fix Unicode support in
debops-defaults, it should now output readable text in the editor. [ypid]
Document git dependency. [violuke]
Update the Ansigenome
README.mdtemplate used to generate role README files to use
galaxy_id. The new variable should contain full URL of the role on Ansible Galaxy. [drybjed]
Add useful Ansible options to default
By default Ansible will not display skipped hosts during the playbook run, and "retry" files won't be generated. [drybjed]
Update generated inventory file with more relevant information. [drybjed]
Update documentation. [drybjed]
- Update role README template to point to new documentation. [drybjed]
- Make Travis mass test script less noisy. [drybjed]
library/path to default Ansible plugin paths in generated
- Define default
ansible_managedvariable in generated
- Changelog is rewritten in reStructuredText. [drybjed]
- DebOps can now use a system-wide configuration file /etc/debops.cfg. You can also install DebOps playbooks and roles in a system-wide location. [htgoebel]
- Small fixes for bugs in DebOps libraries which prevented correct script execution on platforms other than Linux. [htgoebel]
debops-padlock script has been modified to support "lock" and "unlock" sub-commands and it is now used by the padlock wrapper script to lock and unlock EncFS-encrypted secret directory. [htgoebel]
debopsscript can now read configuration from several files:
/etc/debops.cfg $XDG_CONFIG_DIRS/debops.cfg (defaults to ~/etc/xdg/debops.cfg) $XDG_CONFIG_HOME/debops.cfg (defaults to ~/.config/debops.cfg) ./.debops.cfg
Configuration options from different files are merged together. [htgoebel]
Scripts are now tested on Travis-CI using nosetests. [drybjed]
- Scripts are completely rewritten in Python by Hartmut Goebel. This saves a lot of code allows for more fertile future changes.
Notable changed related to the shell-version are:
- Playbooks are no longer searched in
/usr/share/debops. We assume DebOps is used from a user account, so installing playbooks globally is not the common case.
.debops.cfgis no longer supported,
.debops.cfgnow is assumed to be an ini-file.
ansible_config_hook(which was undocumented anyway) is gone. Instead you can put sections
.debops.cfgwhich will go into
ansible.cfg. This allows for easy adding e. g. a
[paramiko]section to ansible.cfg.
- The padlock-script is no longer used to decide if secrets are encrypted. This is now done by testing for the encrypted keyfile and the encrypted encfs-config.
- The padlock script still exists and has been simplified a lot. Most functionality has been moved into the DebOps python library.
- All role documentation from their README files has been moved to separate documentation page, role README files will be converted to more standardized format, and will use Markdown again, since Ansible Galaxy does not support reStructuredText.
debopsscript will automatically generate custom
ansible.cfgconfiguration file in project main directory. This file will be used to enable custom set of role and plugin paths, which allows for example to reorganize playbooks into subdirectories, "overwrite" upstream role with local ones via symlinks and enables support for custom Ansible plugins in all playbooks and roles.
- DebOps roles will be now cloned in different directory, they are moved from
debops-playbooks/roles/(one directory up). This allows to overwrite upstream DebOps roles with local modified ones, which enables easy development or customization when needed.
debopsscript gains even more integration with a DebOps project directory. You can put your custom playbooks in
playbooks/or ansible/playbooks/ directories and access them by specifying name of a playbook as first argument of
debopsscript. Roles can be put in
roles/and ansible/roles/ directories and Ansible will automatically look for them there. Various plugins can also be put in their respective ansible/*_plugins/ directories.
- New script has been added,
debops-defaults. It can be used to easily work with defaults files present in all roles - by default it "aggregates" all of them into one stream and sends it to
STDOUT. By specifying list of roles on the command line you can select which role defaults are aggregated, and by redirecting the script to a file or a command you can manipulate it (for example
grepfor a string).
- debops.secret main directory has been changed from
secret(the feature that used name of the Ansible inventory as the prefix for secret directory has been dropped, because secrets are stored inside project directory). Because of that,
debops*scripts are updated to support new naming scheme.
- If you use debops.secret role or DebOps playbooks in general, you will need
to rename your current plaintext and encrypted directories.
debops*scripts have been updated with new functions and fixed logic. You can now run DebOps commands inside project subdirectories instead of just at the root of the project directory.
debopsscript now recognizes encrypted secret directories created by debops-padlock and automatically opens them before Ansible playbook run, and closes them afterwards.
debops-initwill check if you try to create project directory in another project and if so, will politely refuse your request.
- New debops-padlock script, which is a companion Bash script to
debops.secret role. It can be used to optionally encrypt secret directory
using EncFS and GnuPG keys. Main
debopsscript will be able to recognize these encrypted directories and properly open/close them for ansible-playbook runs.
- Makefile has been rewritten and streamlined.
make installwill install all scripts, inventory skeleton and playbooks + roles in a system-wide location (by default,
make cleanwill remove installed files.
- Many different changes in the documentation in preparation of the release. Role README files will use new flat-style buttons.
- Huge update of the
debops-installscript, which has been renamed to
debops-updateand can now both install and update playbooks and roles automatically, either in the user home directory at
$HOME/.local/share/debopsor in the current directory, or a directory specified as a parameter for the script.
- DebOps project directories can now be easily backed up using a Bash script
- New main scripts:
debops- run ansible-playbook with custom arguments
debops-task- run ansible with custom arguments
- First iteration of the
- First iteration of the
We are starting the main project repository anew! The old
repository will be preserved for historic reasons as
debops/ginas after main
project gets up to speed. For now, if you want to play with DebOps, I suggest
heading to ginas repository and cloning that
instead. That should be fixed soon though, when new role cloning code takes