15 lines
443 B
YAML
15 lines
443 B
YAML
---
|
|
- name: Validate AcuPedia remote hosts
|
|
hosts: docker_hosts
|
|
gather_facts: true
|
|
tasks:
|
|
- name: Verify supported operating system
|
|
ansible.builtin.assert:
|
|
that:
|
|
- ansible_os_family == "Debian"
|
|
fail_msg: "Initial AccuPedia remote setup supports Debian/Ubuntu hosts only."
|
|
- name: Verify privilege escalation
|
|
ansible.builtin.command: /usr/bin/true
|
|
become: true
|
|
changed_when: false
|