Skip to content
Snippets Groups Projects
Commit 5427f4e5 authored by nimrod's avatar nimrod
Browse files

- Updated the README and TODO list.

- Implemented backports archive support for Debian and Ubuntu.
parent 36e777ff
No related branches found
No related tags found
No related merge requests found
...@@ -2,8 +2,8 @@ Ansible-common ...@@ -2,8 +2,8 @@ Ansible-common
############## ##############
An Ansible role with common tasks that ran on all (or most) hosts. An Ansible role with common tasks that ran on all (or most) hosts.
The tls_key_path and tls_cert_path facts are added to point to the path of the The tls_key_path, tls_cert_path and tls_ca_cert_path facts are added to point to
host's key and cert. the path of the host's key and cert.
Requirements Requirements
------------ ------------
...@@ -84,9 +84,8 @@ TODO ...@@ -84,9 +84,8 @@ TODO
- Implement: - Implement:
- add_tls_cert (Debian works, OpenBSD has no mechannism). - add_tls_cert (Debian works, OpenBSD has no mechannism).
- debian_backports (add Ubuntu, priority support).
- collectd_agent. - collectd_agent.
- init. - init (via module).
- ldap_login (with pam_mkhomedir). - ldap_login (with pam_mkhomedir).
- ntp. - ntp.
- mail_forward (OpenBSD support?). - mail_forward (OpenBSD support?).
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
update_cache: yes update_cache: yes
- name: Add repo priority pinning - name: Add repo priority pinning
when: backports_priority is defined
template: template:
src: backports.j2 src: backports.j2
dest: /etc/apt/preferences.d/backports dest: /etc/apt/preferences.d/backports
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
when: ansible_os_family == 'Debian' and not common_role_finished is defined when: ansible_os_family == 'Debian' and not common_role_finished is defined
- include: backports.yml - include: backports.yml
when: backports|default(False) and ansible_distribution == 'Debian'and common_role_finished is defined when: backports|default(False) and ansible_os_family == 'Debian' and not common_role_finished is defined
- include: add_repo.yml - include: add_repo.yml
when: ansible_distribution == 'Debian' and extra_repos is defined and not common_role_finished is defined when: ansible_distribution == 'Debian' and extra_repos is defined and not common_role_finished is defined
......
{# assume backports_priority is defined #} Package: *
Pin: release a={{ ansible_distribution_release }}-backports
Pin-Priority: 500
...@@ -12,6 +12,8 @@ backports_repo: ...@@ -12,6 +12,8 @@ backports_repo:
squeeze: http://httpredir.debian.org/debian-backports squeeze-backports main squeeze: http://httpredir.debian.org/debian-backports squeeze-backports main
wheezy: http://httpredir.debian.org/debian wheezy-backports main wheezy: http://httpredir.debian.org/debian wheezy-backports main
jessie: http://httpredir.debian.org/debian jessie-backports main jessie: http://httpredir.debian.org/debian jessie-backports main
precise: http://archive.ubuntu.com/ubuntu precise-backports main universe multiverse
trusty: http://archive.ubuntu.com/ubuntu trusty-backports main universe multiverse
debian_init: debian_init:
'systemd-sysv': systemd 'systemd-sysv': systemd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment