Commit f06e6c63 authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: don't repository update cache all the time

parent c7f3d32f
--- ---
- name: Install ntp - name: Install ntp
apt: name=ntp state=latest apt: name=ntp state=latest update_cache=no
when: ansible_os_family == "Debian" when: ansible_os_family == "Debian"
- name: Install ntp - name: Install ntp
yum: name=ntp state=latest yum: name=ntp state=latest update_cache=no
when: ansible_os_family == "RedHat" when: ansible_os_family == "RedHat"
- name: ensure ntp is runing - name: ensure ntp is runing
......
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
raw: "apt-get install -y python-apt" raw: "apt-get install -y python-apt"
- name: install sudo - name: install sudo
apt: name=sudo state=latest apt: name=sudo state=latest update_cache=no
- name: install tree - name: install tree
apt: name=tree state=latest apt: name=tree state=latest update_cache=no
- name: install curl - name: install curl
apt: name=curl state=latest apt: name=curl state=latest
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment