Write update_cache true rather than yes

This commit is contained in:
Alexandre Iooss 2019-03-03 09:00:29 +01:00
parent b420d31b2f
commit ac3d2dee23
12 changed files with 14 additions and 14 deletions

View file

@ -5,7 +5,7 @@
apt:
name: apt-listchanges
state: present
update_cache: yes
update_cache: true
# Send email when there is something new
- name: Configure apt-listchanges

View file

@ -5,7 +5,7 @@
apt:
name: "{{ packages }}"
state: present
update_cache: yes
update_cache: true
vars:
packages:
- bash-completion # for bash users

View file

@ -5,7 +5,7 @@
apt:
name: molly-guard
state: present
update_cache: yes
update_cache: true
# Always ask for hostname
- name: Configure molly-guard

View file

@ -14,7 +14,7 @@
apt:
name: "{{ item }}"
state: present
update_cache: yes
update_cache: true
with_items:
- git
- nodejs

View file

@ -23,4 +23,4 @@
- name: Install DokuWiki
apt:
name: dokuwiki
update_cache: yes
update_cache: true

View file

@ -14,7 +14,7 @@
apt:
name: "{{ item }}"
state: present
update_cache: yes
update_cache: true
with_items:
- build-essential
- curl

View file

@ -4,7 +4,7 @@
apt:
name: "{{ item }}"
state: present
update_cache: yes
update_cache: true
with_items:
- nslcd
- libnss-ldapd
@ -16,7 +16,7 @@
# apt:
# name: nscd
# state: present
# update_cache: yes
# update_cache: true
# Configure /etc/nslcd.conf
- name: Configure nslcd LDAP credentials

View file

@ -4,7 +4,7 @@
apt:
name: slapd
state: present
update_cache: yes
update_cache: true
# What is written after is really not a nice way to install a schema
# because the LDAP is being flushed away always...

View file

@ -3,7 +3,7 @@
- name: Install apt-transport-https
apt:
name: apt-transport-https
update_cache: yes
update_cache: true
# Add the repository into source list
- name: Configure riot repository
@ -20,7 +20,7 @@
- name: Install riot-web
apt:
name: riot-web
update_cache: yes
update_cache: true
# Install nginx
- name: Install nginx

View file

@ -2,7 +2,7 @@
- name: Install matrix-synapse
apt:
name: matrix-synapse
update_cache: yes
update_cache: true
default_release: stretch-backports
- name: Configure matrix-synapse

View file

@ -3,7 +3,7 @@
- name: Install NGINX server
apt:
name: nginx
update_cache: yes
update_cache: true
# Install sites
- name: Configure NGINX sites

View file

@ -7,5 +7,5 @@
- name: Upgrade
apt:
upgrade: dist
update_cache: yes
update_cache: true
cache_valid_time: 86400 # one day