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

Rework 2 #81

Merged
merged 65 commits into from
Sep 26, 2016
Merged
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
e451856
Update CHANGES format
ypid Aug 14, 2016
1d15b21
Fix docs about `pki_internal`
ypid Aug 14, 2016
b7f51b7
Be more precise in docs when referring to ACME and Let's Encrypt
ypid Aug 14, 2016
a6da3c4
Regen README.md
ypid Aug 14, 2016
b56fafe
debops-optimize
ypid Aug 14, 2016
e13a490
More useful order of pki_authorities in defaults/main.yml
ypid Aug 14, 2016
2cd8265
Documentation fixes and updates
ypid Aug 14, 2016
666a25b
Use :envvar: instead of :any: for Sphinx docs
ypid Aug 14, 2016
dd407d4
Be more precise what `pki_acme_tiny_version` can be used for
ypid Aug 16, 2016
9799586
Trim useless trailing stuff
ypid Aug 16, 2016
2f03591
Move comments in function bodys for better Vim folds and optimize
ypid Aug 16, 2016
afda364
Fix SC2166 for pki-authority
ypid Aug 16, 2016
de51ad4
Fix more Shellcheck warnings
ypid Aug 16, 2016
46bd990
Mark redundant parts between the scripts
ypid Aug 16, 2016
c194577
Move comments in function bodys for better Vim folds and optimize
ypid Aug 16, 2016
79a062e
Fix more Shellcheck warnings
ypid Aug 16, 2016
33b77ae
Refactor and comment idempotent use of `chmod` and `chgrp`
ypid Aug 16, 2016
dc62b4c
Fix SC2166 for pki-realm
ypid Aug 16, 2016
69d1526
Rework quoting and mkdir tasks in pki-realm
ypid Aug 16, 2016
898e501
Fix more Shellcheck warnings
ypid Aug 16, 2016
616cbbb
Fix SC2064 in pki-realm
ypid Aug 16, 2016
c55e5b2
Partly revert e73bf1775
ypid Aug 17, 2016
ca1bc53
Don’t use `MD5` to sanitize STDOUT and instead use `base64`
ypid Aug 18, 2016
5dc961f
No need for `awk` when `sed` is all you need and improve readability
ypid Aug 18, 2016
e8e76f1
${pidfile} needs to be expanded in the function context
ypid Aug 18, 2016
73a902a
Improve readability
ypid Aug 19, 2016
6c56e62
acme/error.log does not need to be readable in order to abort
ypid Aug 19, 2016
74232b2
Fix SC2027 in pki-realm
ypid Aug 19, 2016
1ac7712
Fix SC2068 and SC1090
ypid Aug 19, 2016
db0b5cd
Fix static condition
ypid Aug 19, 2016
fd2f0da
Quick and dirty update of Vim folds in defaults/main.yml
ypid Aug 19, 2016
6b50a90
Fix redundancy and spelling in docs, add fixme
ypid Aug 19, 2016
7f16f14
Make realm RSA key size configurable
ypid Aug 19, 2016
3a7ab15
Make RSA key size of default CAs configurable
ypid Aug 19, 2016
fd6ff02
Set openssl req default_bits to the configured key size
ypid Aug 20, 2016
7f830cd
Fix spelling
ypid Aug 29, 2016
028c027
Be more precise in defaults documentation
ypid Sep 4, 2016
89ac98d
Improve "Certificate for subdomains excluding apex domain" section
ypid Sep 6, 2016
600f9c5
Add reference to the Let's Encrypt Staging Environment documentation
ypid Sep 6, 2016
bc04da3
"signed" in "signed certificate" is redundant
ypid Sep 6, 2016
9ac2cff
debops-optimize and regen README
ypid Sep 6, 2016
3205e9f
Test Shell scripts with shellcheck in CI build
ypid Sep 6, 2016
6a67345
More spelling fixes in ACME Integration docs
ypid Sep 6, 2016
07ac7fa
Better section names for defaults/main.yml and avoid redundancy
ypid Sep 8, 2016
b1ab374
Use Vim folds in tasks and restructured tasks
ypid Sep 8, 2016
864081c
Fix spelling and other docs enhancements
ypid Sep 8, 2016
f32393d
Also run `pki-realm new-realm` against realms with disabled internal CA
ypid Sep 8, 2016
a018fef
Silently ignore empty elements in `subject` and `acme_subject` lists
ypid Sep 11, 2016
09bcca0
debops-optimize
ypid Sep 11, 2016
a01d6e8
Change python print statements to functions in `pki-realm` as well
ypid Sep 11, 2016
45d14df
Fix more quoting issues in `pki-authority`
ypid Sep 11, 2016
2caae9b
Remove surrounding $() to avoid executing output [SC2091]
ypid Sep 11, 2016
db220a4
`ignored_config_vars` is used but shellcheck can not detect it
ypid Sep 11, 2016
cefeeed
More fixes in `pki-realm` suggested by shellcheck
ypid Sep 11, 2016
bc982a2
Simplify certificate for subdomains excluding the apex domain
ypid Sep 12, 2016
47ba822
Add example for ACME standard cases
ypid Sep 12, 2016
3fc1483
Update changelog
ypid Sep 17, 2016
89d1649
Add note that remote CA certificates are not updated unless by host
ypid Sep 17, 2016
86c0492
Allow to disable CA certificates download for the different levels
ypid Sep 17, 2016
23b4c42
Add `pki_system_ca_certificates_download_all_hosts_force`
ypid Sep 17, 2016
c84aa2c
Incorporate feedback from htgoebel into ACME docs
ypid Sep 19, 2016
03409af
Regen README
ypid Sep 20, 2016
9c537c2
Fix spelling in docs
ypid Sep 23, 2016
3ebe9d3
Reintroduce rst sections in defaults/main.yml
ypid Sep 26, 2016
4d16312
Fix spelling
ypid Sep 26, 2016
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
Prev Previous commit
Next Next commit
Add pki_system_ca_certificates_download_all_hosts_force
ypid committed Sep 17, 2016
commit 23b4c42b14430ee7dca647d8921b2a3363b2b771
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -29,6 +29,8 @@ Added

- Allow to disable CA certificates download for the different levels. [ypid_]

- Added :envvar:`pki_system_ca_certificates_download_all_hosts_force`. [ypid_]

Changed
~~~~~~~

9 changes: 9 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -718,4 +718,13 @@ pki_system_ca_certificates_download_by_group: '{{ pki_enabled|bool }}'
# hosts.
pki_system_ca_certificates_download_all_hosts: '{{ pki_enabled|bool }}'


# .. envvar:: pki_system_ca_certificates_download_all_hosts_force
#
# If ``True``, force the download of CA certificates intended for all hosts.
# Note that this will overwrite by-host and by-group CA certificates.
# This option can be used to push new root certificates from a internal CA to
# hosts.
pki_system_ca_certificates_download_all_hosts_force: False

# ]]]
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
@@ -448,7 +448,7 @@
dest: '/usr/local/share/ca-certificates/pki/'
owner: 'root'
group: 'root'
force: False
force: '{{ pki_system_ca_certificates_download_all_hosts_force|bool }}'
notify: [ 'Regenerate ca-certificates.crt' ]
when: pki_system_ca_certificates_download_all_hosts|d(pki_enabled) | bool
# ]]]