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
- name: install dependencies ansible.builtin.package:
package:
name: "{{ item }}" name: "{{ item }}"
state: installed state: installed
with_items: with_items:
- python3-ldap3 - python3-ldap3
- python3-requests - python3-requests
- name: install script - name: Install script
copy: ansible.builtin.copy:
src: gravatar-update.py src: gravatar-update.py
dest: /usr/local/sbin/gravatar-update dest: /usr/local/sbin/gravatar-update
mode: 0755 mode: 0755
owner: root owner: root
group: "{{ ansible_wheel }}" group: "{{ ansible_wheel }}"
- name: install cron job - name: Install cron job
cron: ansible.builtin.cron:
name: gravatar-update name: gravatar-update
hour: "05" hour: "05"
minute: "10" minute: "10"