forked from ISTI-ansible-roles/ansible-roles
d4science-ghn-cluster/statistical_manager.yml: A dedicated playbook for statistical-manager.d.d4science.org. Install quickrank and its dependencies.
This commit is contained in:
parent
5d8970f347
commit
156084f3dd
|
@ -2,23 +2,14 @@
|
||||||
- name: Remove the now obsolete rquillo ppa for ansible
|
- name: Remove the now obsolete rquillo ppa for ansible
|
||||||
apt_repository: repo='ppa:rquillo/ansible' state=absent
|
apt_repository: repo='ppa:rquillo/ansible' state=absent
|
||||||
register: update_apt_cache_rquillo
|
register: update_apt_cache_rquillo
|
||||||
tags:
|
tags: ansible
|
||||||
- ansible
|
|
||||||
|
|
||||||
- name: Add the ansible ppa for ansible
|
- name: Add the ansible ppa for ansible
|
||||||
apt_repository: repo='ppa:ansible/ansible'
|
apt_repository: repo='ppa:ansible/ansible' update_cache=yes
|
||||||
register: update_apt_cache
|
register: update_apt_cache
|
||||||
tags:
|
tags: ansible
|
||||||
- ansible
|
|
||||||
|
|
||||||
- name: Update the apt cache if needed
|
|
||||||
apt: update_cache=yes
|
|
||||||
when: (update_apt_cache|changed) or (update_apt_cache_rquillo|changed)
|
|
||||||
tags:
|
|
||||||
- ansible
|
|
||||||
|
|
||||||
- name: Install the ansible package
|
- name: Install the ansible package
|
||||||
apt: pkg=ansible state={{ ansible_pkg_state }}
|
apt: pkg=ansible state={{ ansible_pkg_state }}
|
||||||
tags:
|
tags: ansible
|
||||||
- ansible
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue