ldap_gravatar: ansible-lint fixes

This commit is contained in:
Timo Makinen 2022-10-29 18:07:29 +00:00
parent 8ffc56a625
commit e8559d4b17

View file

@ -1,23 +1,22 @@
---
- name: install dependencies
package:
- name: Install dependencies
ansible.builtin.package:
name: "{{ item }}"
state: installed
with_items:
- python3-ldap3
- python3-requests
- name: install script
copy:
- name: Install script
ansible.builtin.copy:
src: gravatar-update.py
dest: /usr/local/sbin/gravatar-update
mode: 0755
owner: root
group: "{{ ansible_wheel }}"
- name: install cron job
cron:
- name: Install cron job
ansible.builtin.cron:
name: gravatar-update
hour: "05"
minute: "10"