Skip to content

Commit ebad931

Browse files
author
Max Kuzmins
committed
Restore ansible-bootstrap v0.3.3 from local copy.
0 parents  commit ebad931

22 files changed

+1713
-0
lines changed

CHANGES.rst

+233
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,233 @@
1+
Changelog
2+
=========
3+
4+
.. include:: includes/all.rst
5+
6+
**debops.bootstrap**
7+
8+
This project adheres to `Semantic Versioning <http://semver.org/spec/v2.0.0.html>`__
9+
and `human-readable changelog <http://keepachangelog.com/en/0.3.0/>`__.
10+
11+
The current role maintainer_ is drybjed_.
12+
13+
14+
`debops.bootstrap master`_ - unreleased
15+
---------------------------------------
16+
17+
.. _debops.bootstrap master: https://github.com/debops/ansible-bootstrap/compare/v0.3.3...master
18+
19+
20+
`debops.bootstrap v0.3.3`_ - 2017-01-19
21+
---------------------------------------
22+
23+
.. _debops.bootstrap v0.3.3: https://github.com/debops/ansible-bootstrap/compare/v0.3.2...v0.3.3
24+
25+
Added
26+
~~~~~
27+
28+
- Added support for Ansible 2.0 and higher where `ansible_ssh_user` is deprecated
29+
and replaced by `ansible_user`. [tallandtree_]
30+
31+
- Change the ``apt`` module to ``package`` to make the role more generic.
32+
[JeanVEGA]
33+
34+
- Use the ``inventory_hostname`` variable as a default source of the host's
35+
domain instead of ``ansible_domain`` variable. [drybjed_]
36+
37+
38+
`debops.bootstrap v0.3.2`_ - 2016-09-13
39+
---------------------------------------
40+
41+
.. _debops.bootstrap v0.3.2: https://github.com/debops/ansible-bootstrap/compare/v0.3.1...v0.3.2
42+
43+
Fixed
44+
~~~~~
45+
46+
- Fix an issue where disabled admin account management resulted in an error.
47+
Now, ``getent`` database is always checked, therefore other tasks can be
48+
correctly skipped by Ansible. [drybjed_]
49+
50+
51+
`debops.bootstrap v0.3.1`_ - 2016-08-14
52+
---------------------------------------
53+
54+
.. _debops.bootstrap v0.3.1: https://github.com/debops/ansible-bootstrap/compare/v0.3.0...v0.3.1
55+
56+
Fixed
57+
~~~~~
58+
59+
- Potential issue when :envvar:`bootstrap__admin_default_users` and
60+
:envvar:`bootstrap__admin_users` would both be empty. [ypid_]
61+
62+
63+
`debops.bootstrap v0.3.0`_ - 2016-08-13
64+
---------------------------------------
65+
66+
.. _debops.bootstrap v0.3.0: https://github.com/debops/ansible-bootstrap/compare/v0.2.2...v0.3.0
67+
68+
Changed
69+
~~~~~~~
70+
71+
- Role now supports creation and management of multiple admin accounts. See
72+
:ref:`bootstrap__ref_admin_users` for more details. [drybjed_]
73+
74+
- Role now requires Ansible v2.0.0 to work properly. [drybjed_]
75+
76+
- The ``bootstrap__admin_system_home`` variable has been renamed to
77+
:envvar:`bootstrap__admin_home_path_system` due to changes in admin account
78+
support. [drybjed_]
79+
80+
- The admin accounts will be added to the :command:`sudo` system group by default.
81+
[drybjed_]
82+
83+
Removed
84+
~~~~~~~
85+
86+
- The ``bootstrap__admin_name`` variable has been removed due to changes in
87+
admin account support. [drybjed_]
88+
89+
- The ``bootstrap__admin_manage_existing`` variable has been removed due to
90+
changes in admin account support. Role now detects existing account
91+
parameters and preserves them unless configured specifically to change them.
92+
[drybjed_]
93+
94+
95+
`debops.bootstrap v0.2.2`_ - 2016-07-18
96+
---------------------------------------
97+
98+
.. _debops.bootstrap v0.2.2: https://github.com/debops/ansible-bootstrap/compare/v0.2.1...v0.2.2
99+
100+
Added
101+
~~~~~
102+
103+
- Allow to disable hostname and domain configuration via
104+
:envvar:`bootstrap__hostname_domain_config_enabled`. [ypid_]
105+
106+
Changed
107+
~~~~~~~
108+
109+
- Explicitly set ``!requiretty`` for the :envvar:`bootstrap__sudo_group`
110+
(:manpage:`sudoers(5)`). This ensures that :command:`sudo` with :command:`rsync` is allowed
111+
for the :envvar:`bootstrap__sudo_group` even when ``requiretty`` has been
112+
configured to be the default for users. [ypid_]
113+
114+
- Split the role into two roles, ``debops.bootstrap/raw`` and
115+
``debops.bootstrap``. This allows use of separate plays for each role, the
116+
first one without any ``environment`` variables, the second one that works
117+
normally. [drybjed_]
118+
119+
- Update documentation and Changelog. [drybjed_]
120+
121+
- Move the conditional check for POSIX capabilities to default variables.
122+
[drybjed_]
123+
124+
125+
`debops.bootstrap v0.2.1`_ - 2016-05-28
126+
---------------------------------------
127+
128+
.. _debops.bootstrap v0.2.1: https://github.com/debops/ansible-bootstrap/compare/v0.2.0...v0.2.1
129+
130+
Changed
131+
~~~~~~~
132+
133+
- Small fixes and documentation updates. [drybjed_]
134+
135+
136+
`debops.bootstrap v0.2.0`_ - 2016-05-07
137+
---------------------------------------
138+
139+
.. _debops.bootstrap v0.2.0: https://github.com/debops/ansible-bootstrap/compare/v0.1.2...v0.2.0
140+
141+
Added
142+
~~~~~
143+
144+
- Added ``role::bootstrap:packages`` and ``role::bootstrap:admin`` tags. [ypid_]
145+
146+
Changed
147+
~~~~~~~
148+
149+
- Reworked tasks and conditions. [ypid_]
150+
151+
- Changed variable namespace from ``bootstrap_`` to ``bootstrap__``.
152+
``bootstrap_[^_]`` variables are hereby deprecated.
153+
154+
You might need to update your inventory. This oneliner might come in handy to
155+
do this:
156+
157+
.. code:: shell
158+
159+
git ls-files -z | xargs --null -I '{}' find '{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's/\<(bootstrap)_([^_])/\1__\2/g;'
160+
161+
[ypid_]
162+
163+
Fixed
164+
~~~~~
165+
166+
- Fixed incorrectly evaluated ``bootstrap_admin_system`` variable since "Clean
167+
up task logic" in v0.1.2. [ypid_]
168+
169+
170+
`debops.bootstrap v0.1.2`_ - 2016-02-08
171+
---------------------------------------
172+
173+
.. _debops.bootstrap v0.1.2: https://github.com/debops/ansible-bootstrap/compare/v0.1.1...v0.1.2
174+
175+
Changed
176+
~~~~~~~
177+
178+
- Preserve existing DNS domain if any has been detected by Ansible. This solves
179+
an issue where an existing domain is removed from a host when
180+
``bootstrap_domain`` is not defined in inventory. [drybjed_]
181+
182+
- Change the way ``ansible_ssh_user`` variable is detected. [drybjed_]
183+
184+
- Clean up task logic. [drybjed_]
185+
186+
- Change the hostname only when current one differs. [drybjed_]
187+
188+
Fixed
189+
~~~~~
190+
191+
- Fix deprecation warnings in Ansible 2.1.0. [drybjed_]
192+
193+
194+
`debops.bootstrap v0.1.1`_ - 2015-11-07
195+
---------------------------------------
196+
197+
.. _debops.bootstrap v0.1.1: https://github.com/debops/ansible-bootstrap/compare/v0.1.0...v0.1.1
198+
199+
Added
200+
~~~~~
201+
202+
- Added a IPv6 entry to :file:`/etc/hosts` for the FQDN of the host pointing to the
203+
IPv6 loopback address "::1". Not enabled by default because it might break something.
204+
Can be enabled by setting ``bootstrap_hostname_v6_loopback`` to True. [ypid_]
205+
206+
Changed
207+
~~~~~~~
208+
209+
- Update the task list so that correct hostname is set in :file:`/etc/hosts` even
210+
when ``bootstrap_domain`` is not specified. [drybjed_]
211+
212+
- Don't try and set SSH public key on ``root`` account when admin account
213+
management is disabled. [drybjed_]
214+
215+
- Replace the quotes in ``lineinfile`` module to prevent issues with ``\t``
216+
characters on Ansible v2. [drybjed_]
217+
218+
Fixed
219+
~~~~~
220+
221+
- Remove the "\n" from :file:`/etc/hostname` content line to prevent issues on
222+
Ansible v2. [drybjed_]
223+
224+
- Fix issue with empty ``ansible_ssh_user`` on Ansible v2. [drybjed_]
225+
226+
227+
debops.bootstrap v0.1.0 - 2015-07-14
228+
------------------------------------
229+
230+
Added
231+
~~~~~
232+
233+
- Initial release. [drybjed_]

COPYRIGHT

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
debops.bootstrap - Prepare a host for Ansible management
2+
3+
Copyright (C) 2015-2016 Maciej Delmanowski <drybjed@gmail.com>
4+
Copyright (C) 2015-2016 Robin Schneider <ypid@riseup.net>
5+
Copyright (C) 2015-2016 DebOps https://debops.org/
6+
7+
This Ansible role is part of DebOps.
8+
9+
DebOps is free software; you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License version 3, as
11+
published by the Free Software Foundation.
12+
13+
DebOps is distributed in the hope that it will be useful,
14+
but WITHOUT ANY WARRANTY; without even the implied warranty of
15+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
GNU General Public License for more details.
17+
18+
You should have received a copy of the GNU General Public License
19+
along with DebOps. If not, see https://www.gnu.org/licenses/.

0 commit comments

Comments
 (0)