Skip to content

Commit

Permalink
Add 'debops.apt_listchanges', 'debops.apt_proxy'
Browse files Browse the repository at this point in the history
  • Loading branch information
drybjed committed Sep 14, 2016
1 parent f464dd6 commit d258101
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ Added
- Add ``debops.sysctl`` role with corresponding playbook and include it in
the :file:`common.yml` playbook. [ypid_]

- Add ``debops.apt_listchanges`` and ``debops.apt_proxy`` roles with their
corresponding playbooks. Both roles are included in the ``common.yml``
playbook. [drybjed_]

Changed
~~~~~~~

Expand Down
2 changes: 2 additions & 0 deletions galaxy/requirements-testing.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
debops.apt,testing
debops.apt_cacher_ng,testing
debops.apt_install,testing
debops.apt_listchanges,testing
debops.apt_preferences,testing
debops.apt_proxy,testing
debops.atd,testing
debops.auth,testing
debops.authorized_keys,testing
Expand Down
6 changes: 6 additions & 0 deletions galaxy/requirements-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@
- src: debops.apt_install
version: testing

- src: debops.apt_listchanges
version: testing

- src: debops.apt_preferences
version: testing

- src: debops.apt_proxy
version: testing

- src: debops.atd
version: testing

Expand Down
2 changes: 2 additions & 0 deletions galaxy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
debops.apt
debops.apt_cacher_ng
debops.apt_install
debops.apt_listchanges
debops.apt_preferences
debops.apt_proxy
debops.atd
debops.auth
debops.authorized_keys
Expand Down
4 changes: 4 additions & 0 deletions galaxy/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@

- src: debops.apt_install

- src: debops.apt_listchanges

- src: debops.apt_preferences

- src: debops.apt_proxy

- src: debops.atd

- src: debops.auth
Expand Down
6 changes: 6 additions & 0 deletions playbooks/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
- '{{ apt_install__apt_preferences__dependent_list }}'
- '{{ rsyslog__apt_preferences__dependent_list }}'

- role: debops.apt_proxy
tags: [ 'role::apt_proxy' ]

- role: debops.atd
tags: [ 'role::atd' ]

Expand All @@ -50,6 +53,9 @@
- role: debops.apt
tags: [ 'role::apt' ]

- role: debops.apt_listchanges
tags: [ 'role::apt_listchanges' ]

- role: debops.apt_install
tags: [ 'role::apt_install' ]

Expand Down
14 changes: 14 additions & 0 deletions playbooks/service/apt_listchanges.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---

- name: Configure apt-listchanges
hosts: [ 'debops_all_hosts', 'debops_service_apt_listchanges' ]
become: True

environment: '{{ inventory__environment | d({})
| combine(inventory__group_environment | d({}))
| combine(inventory__host_environment | d({})) }}'

roles:

- role: debops.apt_listchanges
tags: [ 'role::apt_listchanges' ]
14 changes: 14 additions & 0 deletions playbooks/service/apt_proxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---

- name: Configure APT proxy
hosts: [ 'debops_all_hosts', 'debops_service_apt_proxy' ]
become: True

environment: '{{ inventory__environment | d({})
| combine(inventory__group_environment | d({}))
| combine(inventory__host_environment | d({})) }}'

roles:

- role: debops.apt_proxy
tags: [ 'role::apt_proxy' ]
4 changes: 4 additions & 0 deletions playbooks/service/authorized_keys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
hosts: [ 'debops_all_hosts', 'debops_service_authorized_keys' ]
become: True

environment: '{{ inventory__environment | d({})
| combine(inventory__group_environment | d({}))
| combine(inventory__host_environment | d({})) }}'

roles:

- role: debops.authorized_keys
Expand Down

0 comments on commit d258101

Please sign in to comment.