blob: 32b60e8740f7ae4486eb77b264c7630e10353e0d [file] [log] [blame]
David K. Bainbridgeb5415042016-05-13 17:06:10 -07001- name: JQ is present
2 apt:
3 name: jq
4 force: yes
5 tags: [common]
6
7- name: Host is present
8 lineinfile:
9 dest: /etc/hosts
10 regexp: "^{{ item.host_ip }}"
11 line: "{{ item.host_ip }} {{ item.host_name }}"
12 with_items: hosts
13 tags: [common]
14
15- name: Services are not running
16 service:
17 name: "{{ item }}"
18 state: stopped
19 ignore_errors: yes
20 with_items: obsolete_services
21 tags: [common]