mirror of
https://github.com/geerlingguy/ansible-role-ansible.git
synced 2024-11-12 10:03:56 +01:00
10 lines
215 B
YAML
10 lines
215 B
YAML
---
|
|
- name: Add ansible repository.
|
|
apt_repository: repo='ppa:ansible/ansible'
|
|
|
|
- name: Update apt cache.
|
|
apt: update_cache=yes cache_valid_time=86400
|
|
|
|
- name: Install Ansible.
|
|
apt: name=ansible state=present
|