12345678910111213141516171819202122232425262728293031 |
- ---
- - name: Initial setup
- hosts: localhost
- connection: local
- gather_facts: false
- tasks:
- - name: Install python-netaddr
- package:
- name: py3-netaddr
- state: present
- - name: Add inventory cron job
- cron:
- name: Create inventory
- minute: "*/5"
- job: /root/inventory_creation.yml"
|