Newer
Older
force_apt_get: true
install_recommends: false
state: present
register: apt_status
retries: 60
until: apt_status is success or ('Failed to lock apt for exclusive operation' not in apt_status.msg and '/var/lib/dpkg/lock' not in apt_status.msg)
- name: TMPFS creation to store the live chunks
notify: restart nginx
opts: defaults,size={{ live_tmpfs_size }}
# not working with a tmpfs (mode=777, user=group=root)
# - name: Changing the rights on the TMPFS directory
# notify: restart nginx
# ansible.builtin.file:
# path: /var/tmp/nginx-rtmp
# owner: nginx
# group: root
# mode: "0700"