ldap_netdb: ansible-lint fixes

This commit is contained in:
Timo Makinen 2022-10-30 15:51:40 +00:00
parent fe8abc7e0a
commit ff07e84ca6

View file

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