Skip to content

Commit

Permalink
Use :envvar: instead of :any: to refer to variables.
Browse files Browse the repository at this point in the history
Related to: debops/docs#153
  • Loading branch information
ypid committed Jul 8, 2016
1 parent dc3f3a4 commit 06088e9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ v0.2.0

*Unreleased*

- | Renamed ``apt_cacher_ng__nginx_upstream`` to :any:`apt_cacher_ng__nginx__upstream`.
| Renamed ``apt_cacher_ng__nginx_upstream_servers`` to :any:`apt_cacher_ng__upstream_servers`. [ypid]
- | Renamed ``apt_cacher_ng__nginx_upstream`` to :envvar:`apt_cacher_ng__nginx__upstream`.
| Renamed ``apt_cacher_ng__nginx_upstream_servers`` to :envvar:`apt_cacher_ng__upstream_servers`. [ypid]
- Added :any:`apt_cacher_ng__connect_protocol` to allow to specify which IP
- Added :envvar:`apt_cacher_ng__connect_protocol` to allow to specify which IP
version to prefer when contacting upstream mirrors. [ypid]

v0.1.0
Expand Down
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ apt_cacher_ng__proxy: ''
# Only use IPv4 connections for connecting to upstream mirrors.
#
# Defaults to using native order of the system's TCP/IP stack, influenced by
# the :any:`apt_cacher_ng__bind_address` value.
# the :envvar:`apt_cacher_ng__bind_address` value.
apt_cacher_ng__connect_protocol: []


Expand Down Expand Up @@ -275,7 +275,7 @@ apt_cacher_ng__file_perms: '00644'
#
# ``lazy``
# Check the :file:`_expending_damaged` file in the root of
# :any:`apt_cacher_ng__cache_dir` and only enforce permissions on all other
# :envvar:`apt_cacher_ng__cache_dir` and only enforce permissions on all other
# files if this one file needed to be changed.
#
# ``disabled``
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
when: (apt_cacher_ng__deploy_state in [ 'absent', 'purge' ])
with_items: '{{ apt_cacher_ng__configuration_files }}'

- name: Ensure required packages are in there desired state
- name: Ensure specified packages are in there desired state
apt:
name: '{{ item }}'
state: '{{ "latest" if (apt_cacher_ng__deploy_state == "present") else "absent" }}'
Expand Down

0 comments on commit 06088e9

Please sign in to comment.