--- - name: apt update apt: update_cache: yes cache_valid_time: 3600 - name: Install nginx apt: pkg: - nginx