Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/brand name #163

Merged
merged 6 commits into from
Aug 12, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,14 @@ local.properties

# TeXlipse plugin
.texlipse
## For quick testing.
## Generated by https://github.com/ypid/ypid-ansible-common/blob/master/bin/sphinx-debops-role-build
docs/Makefile
docs/_build/
docs/conf.py
docs/defaults.rst
docs/includes/global.rst
docs/_templates/page.html
docs/_templates/.gitkeep
docs/_static/custom.css
docs/_static/.gitkeep
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---

sudo: required
language: 'python'
python: '2.7'

Expand All @@ -14,4 +15,5 @@ install: True

script:
- 'nosetests'

- 'git clone --depth 1 https://github.com/nickjj/rolespec'
- 'cd rolespec ; bin/rolespec -r https://github.com/debops/test-suite'
106 changes: 49 additions & 57 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Changelog
=========

.. include:: includes/all.rst

v0.4.4
------

Expand All @@ -10,94 +12,94 @@ v0.4.4

- Fix issue with ``bootstrap-ansible.sh`` script not able to install latest
Ansible stable version, make the process more verbose and don't remove the
temporary directory by default. [drybjed]
temporary directory by default. [drybjed_]

- Update Ansible Galaxy role links in ``ansigenome`` templates. [drybjed]
- Update Ansible Galaxy role links in ``ansigenome`` templates. [drybjed_]

- Fix Unicode support in ``debops-defaults``, it should now output readable
text in the editor. [ypid]
text in the editor. [ypid_]

- Document ``git`` dependency. [violuke]
- Document :command:`git` dependency. [violuke]

- Update the Ansigenome ``README.md`` template used to generate role README
files to use ``galaxy_url`` instead of ``galaxy_id``. The new variable should
contain full URL of the role on Ansible Galaxy. [drybjed]
contain full URL of the role on Ansible Galaxy. [drybjed_]

- Add useful Ansible options to default ``ansible.cfg`` template.

By default Ansible will not display skipped hosts during the playbook run,
and "retry" files won't be generated. [drybjed]
and "retry" files won't be generated. [drybjed_]

- Update generated inventory file with more relevant information. [drybjed]
- Update generated inventory file with more relevant information. [drybjed_]

- Update documentation. [drybjed]
- Update documentation. [drybjed_]

v0.4.3
------

*Released: 2015-05-25*

- Rearranged documentation. [drybjed]
- Rearranged documentation. [drybjed_]

- Properly propagate exit code when running debops [do3cc]
- Properly propagate exit code when running debops [do3cc_]

- Clone and update roles exclusively over HTTPS to allow operation
over a proxy or in case the git protocol is blocked. [ganto]
over a proxy or in case the git protocol is blocked. [ganto_]

v0.4.2
------

*Released: 2015-03-04*

- On OS X search config-file in ``/etc`` too (before searching in
``~/Library/Application Support``). [htgoebel]
- On OS X search config-file in :file:`/etc` too (before searching in
``~/Library/Application Support``). [htgoebel_]

- Make debops-init write some example values into .debops.cfg.
[htgoebel]
[htgoebel_]

- Add a work-around for ansible's buggy handling of paths containing
spaces. [htgoebel]
spaces. [htgoebel_]


v0.4.1
------

*Released: 2015-02-26*

- Update role README template to point to new documentation. [drybjed]
- Update role README template to point to new documentation. [drybjed_]

- Make Travis mass test script less noisy. [drybjed]
- Make Travis mass test script less noisy. [drybjed_]

- Add ``library/`` path to default Ansible plugin paths in generated ``ansible.cfg``. [drybjed]
- Add :file:`library/` path to default Ansible plugin paths in generated ``ansible.cfg``. [drybjed_]

- Define default ``ansible_managed`` variable in generated ``ansible.cfg``. [drybjed]
- Define default ``ansible_managed`` variable in generated ``ansible.cfg``. [drybjed_]

- Changelog is rewritten in reStructuredText. [drybjed]
- Changelog is rewritten in reStructuredText. [drybjed_]

v0.4.0
------

*Released: 2015-02-12*

- 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]
can also install DebOps playbooks and roles in a system-wide location. [htgoebel_]

v0.3.0
------

*Released: 2015-01-27*

- Small fixes for bugs in DebOps libraries which prevented corret script
execution on platforms other than Linux. [htgoebel]
execution on platforms other than Linux. [htgoebel_]

v0.2.0
------

*Released: 2015-01-26*

- ``debops-padlock`` script has been modified to support "lock" and "unlock"
- :command:`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]
unlock EncFS-encrypted secret directory. [htgoebel_]

- ``debops`` script can now read configuration from several files::

Expand All @@ -106,9 +108,9 @@ v0.2.0
$XDG_CONFIG_HOME/debops.cfg (defaults to ~/.config/debops.cfg)
./.debops.cfg

Configuration options from different files are merged together. [htgoebel]
Configuration options from different files are merged together. [htgoebel_]

- Scripts are now tested on Travis-CI using `nosetests`. [drybjed]
- Scripts are now tested on Travis-CI using `nosetests`. [drybjed_]


v0.1.0
Expand All @@ -121,16 +123,16 @@ v0.1.0

Notable changed related to the shell-version are:

- Playbooks are no longer searched in ``/usr/local/share/debops`` nor in
``/usr/share/debops``. We assume DebOps is used from a user account,
- Playbooks are no longer searched in :file:`/usr/local/share/debops` nor in
:file:`/usr/share/debops`. We assume DebOps is used from a user account,
so installing playbooks globally is not the common case.

- Sourcing ``.debops.cfg`` is no longer supported, ``.debops.cfg`` now is
assumed to be an ini-file.

- The ``ansible_config_hook`` (which was undocumented anyway) is gone.
Instead you can put sections ``[ansible ...]`` into ``.debops.cfg``
which will go into ``ansible.cfg``. This allows for easy adding e.g. a
which 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
Expand All @@ -148,19 +150,16 @@ Pre-release

- `DebOps mailing list`_ has been moved to `groups.io`_.

.. _DebOps mailing list: https://groups.io/org/groupsio/debops
.. _groups.io: https://groups.io/

2014-10-24
~~~~~~~~~~

- all role documentation from their readme files has been moved to `separate
documentation page`_, role README files will be converted to more
- 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.

.. _separate documentation page: http://docs.debops.org/

- ``debops`` script will automatically generate custom ``ansible.cfg``
configuration file in project main directory. This file will be used to
enable custom set of role and plugin paths, which allows for example to
Expand All @@ -169,17 +168,17 @@ Pre-release
playbooks and roles.

- DebOps roles will be now cloned in different directory, they are moved from
``debops-playbooks/playbooks/roles/`` to ``debops-playbooks/roles/`` (one
:file:`debops-playbooks/playbooks/roles/` to :file:`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.

- ``debops`` script gains even more integration with DebOps project directory.
You can put your custom playbooks in ``playbooks/`` or ``ansible/playbooks/``
- ``debops`` script gains even more integration with a DebOps project directory.
You can put your custom playbooks in :file:`playbooks/` or :command:`ansible/playbooks/`
directories and access them by specifying name of a playbook as first
argument of ``debops`` script. Roles can be put in ``roles/`` and
``ansible/roles/`` directories and Ansible will automatically look for them
argument of ``debops`` script. Roles can be put in :file:`roles/` and
:command:`ansible/roles/` directories and Ansible will automatically look for them
there. Various plugins can also be put in their respective
``ansible/*_plugins/`` directories.
:command:`ansible/*_plugins/` directories.

2014-10-21
~~~~~~~~~~
Expand All @@ -189,9 +188,6 @@ Pre-release
already written has been moved from ``debops/debops`` repository to the new
website, more to come.

.. _DebOps documentation: http://docs.debops.org/
.. _ReadTheDocs: http://readthedocs.org/

2014-09-28
~~~~~~~~~~

Expand All @@ -200,18 +196,18 @@ Pre-release
them into one stream and sends it to ``view`` command using ``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 grep for a string).
you can manipulate it (for example ``grep`` for a string).

2014-09-22
~~~~~~~~~~

- ``debops.secret`` main directory has been changed from ``inventory.secret``
- debops.secret_ main directory has been changed from ``inventory.secret``
to ``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
- If you use debops.secret_ role or DebOps playbooks in general, you will need
to rename your current plaintext and encrypted directories.

- ``inventory.secret`` becomes ``secret``
Expand All @@ -226,7 +222,7 @@ Pre-release
just at the root of the project directory.

- ``debops`` script now recognizes encrypted secret directories created by
``debops-padlock`` and automatically opens them before Ansible playbook run,
:command:`debops-padlock` and automatically opens them before Ansible playbook run,
and closes them afterwards.

- ``debops-init`` will check if you try to create project directory in another
Expand All @@ -235,20 +231,18 @@ Pre-release
2014-09-16
~~~~~~~~~~

- New ``debops-padlock`` script, which is a companion Bash script to
- New :command:`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 ``debops`` script will be able to recognize
these encrypted directories and properly open/close them for
``ansible-playbook`` runs.

.. _debops.secret: https://github.com/debops/ansible-secret/
:command:`ansible-playbook` runs.

2014-09-12
~~~~~~~~~~

- Makefile has been rewritten and streamlined. ``make install`` will install
all scripts, inventory skeleton and playbooks + roles in a system-wide
location (by default, ``/usr/local``) and ``make clean`` will remove
location (by default, :file:`/usr/local`) and ``make clean`` will remove
installed files.

- Many different changes in the documentation in preparation of the release.
Expand All @@ -266,13 +260,13 @@ Pre-release
2014-09-10
~~~~~~~~~~

- DebOps project repositories can now be easily backed up using a Bash 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`` - run :command:`ansible-playbook` with custom arguments

- ``debops-task`` - run ``ansible`` with custom arguments
- ``debops-task`` - run :command:`ansible` with custom arguments

2014-09-07
~~~~~~~~~~
Expand All @@ -290,5 +284,3 @@ 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
shape.

.. _ginas: https://github.com/ginas/ginas/
18 changes: 9 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
|debops_logo| `DebOps <http://debops.org>`_
===========================================
|debops_logo| `DebOps <https://debops.org>`_
============================================

|CII Best Practices|

Expand Down Expand Up @@ -56,7 +56,7 @@ use::
$ debops-update

Please see the `Installation Guide
<http://docs.debops.org/en/latest/debops/docs/installation.html>`_ for more
<https://docs.debops.org/en/latest/debops/docs/installation.html>`_ for more
details.


Expand All @@ -65,7 +65,7 @@ Getting started

Here is a short intro how to use DebOps. Please have a look at the
`Getting Started Guide
<http://docs.debops.org/en/latest/debops/docs/getting-started.html>`_ for more
<https://docs.debops.org/en/latest/debops/docs/getting-started.html>`_ for more
detailed information.

**Make your first project**
Expand Down Expand Up @@ -97,16 +97,16 @@ What do you want to learn more about?
|Gratipay|_

- `Playbooks and roles <https://github.com/debops/debops-playbooks>`_
- `Custom scripts <http://docs.debops.org/en/latest/debops-playbooks/docs/custom-features.html>`_
- `Custom scripts <https://docs.debops.org/en/latest/debops-playbooks/docs/custom-features.html>`_
- DebOps guides and troubleshooting
- `Using linux containers <http://docs.debops.org/en/latest/debops-playbooks/docs/guides/linux-containers.html>`_
- `Creating a local APT server to use backports <http://docs.debops.org/en/latest/debops-playbooks/docs/guides/local-apt-repository.html>`_
- `Using linux containers <https://docs.debops.org/en/latest/debops-playbooks/docs/guides/linux-containers.html>`_
- `Creating a local APT server to use backports <https://docs.debops.org/en/latest/debops-playbooks/docs/guides/local-apt-repository.html>`_
- `Solving common problems <https://github.com/debops/debops/wiki/Solutions-to-problems-you-may-encounter>`_

Do you want to contribute?
^^^^^^^^^^^^^^^^^^^^^^^^^^

Sounds great, check out the `contributing guide <http://docs.debops.org/en/latest/debops/docs/contributing.html>`_
Sounds great, check out the `contributing guide <https://docs.debops.org/en/latest/debops/docs/contributing.html>`_
for the details.

Authors
Expand Down Expand Up @@ -137,7 +137,7 @@ Authors

.. |Gratipay| image:: https://img.shields.io/gratipay/drybjed.svg?style=flat
.. _Gratipay: https://www.gratipay.com/drybjed/
.. |debops_logo| image:: http://debops.org/images/debops-small.png
.. |debops_logo| image:: https://debops.org/images/debops-small.png



Expand Down
4 changes: 2 additions & 2 deletions bin/debops
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
debops: run ansible-playbook with some customization
"""
# Copyright (C) 2014-2015 Hartmut Goebel <[email protected]>
# Part of the DebOps project - http://debops.org/
# Part of the DebOps - https://debops.org/

# This program is free software; you can redistribute
# it and/or modify it under the terms of the
Expand All @@ -25,7 +25,7 @@ debops: run ansible-playbook with some customization
#
# An on-line copy of the GNU General Public License can
# be downloaded from the FSF web page at:
# http://www.gnu.org/copyleft/gpl.html
# https://www.gnu.org/copyleft/gpl.html

from __future__ import print_function

Expand Down
Loading