blob: 32b60e8740f7ae4486eb77b264c7630e10353e0d [file] [log] [blame]
- name: JQ is present
apt:
name: jq
force: yes
tags: [common]
- name: Host is present
lineinfile:
dest: /etc/hosts
regexp: "^{{ item.host_ip }}"
line: "{{ item.host_ip }} {{ item.host_name }}"
with_items: hosts
tags: [common]
- name: Services are not running
service:
name: "{{ item }}"
state: stopped
ignore_errors: yes
with_items: obsolete_services
tags: [common]