Syntax cleanup from #4.

This commit is contained in:
Jeff Geerling 2016-08-30 19:20:35 -05:00
parent 2828125e67
commit c37723873a
3 changed files with 11 additions and 5 deletions

View File

@ -28,4 +28,4 @@ MIT / BSD
## Author Information
This role was created in 2014 by [Jeff Geerling](http://jeffgeerling.com/), author of [Ansible for DevOps](http://ansiblefordevops.com/).
This role was created in 2014 by [Jeff Geerling](http://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).

View File

@ -1,9 +1,15 @@
---
- name: Enable Backports repository
apt_repository: repo='deb http://ftp.debian.org/debian {{ansible_distribution_release}}-backports main' state=present filename={{ansible_distribution_release}}_backports
- name: Enable Backports repository.
apt_repository:
repo: 'deb http://ftp.debian.org/debian {{ ansible_distribution_release }}-backports main'
state: present
filename: "{{ ansible_distribution_release }}_backports"
- name: Update apt cache.
apt: update_cache=yes cache_valid_time=86400
- name: Install Ansible.
apt: name=ansible state=installed default_release={{ansible_distribution_release}}-backports
apt:
name: ansible
state: installed
default_release: "{{ ansible_distribution_release }}-backports"

View File

@ -6,4 +6,4 @@
apt: update_cache=yes cache_valid_time=86400
- name: Install Ansible.
apt: name=ansible state=installed
apt: name=ansible state=installed