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
|
||||||
- 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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue