ldap_gravatar: ansible-lint fixes
This commit is contained in:
parent
8ffc56a625
commit
e8559d4b17
1 changed files with 6 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue