You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
569 B
13 lines
569 B
- name: Setup chrony |
|
hosts: test |
|
become: true |
|
gather_facts: False |
|
pre_tasks: |
|
- name: 1. Check Python and install if not present |
|
raw: test -e /usr/bin/python || ( apt -y update && apt install -y python) |
|
changed_when: False |
|
- name: 2. Gather facts |
|
setup: # aka gather_facts |
|
roles: |
|
- ansible-chrony #naming scheme - in large repo, use sw prefix when desgning a role for software "sw-chrony" or in standalone |
|
# role like this one, use "ansible-chrony" to let the user know that this is in a fact an Ansible role
|
|
|