mirror of
https://github.com/geerlingguy/ansible-role-ansible.git
synced 2025-02-16 01:01:22 +01:00
Syntax cleanup from #4.
This commit is contained in:
parent
2828125e67
commit
c37723873a
@ -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/).
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user