@@ -18,29 +18,6 @@
update_cache: true
changed_when: false
- hosts: jessie
become: true
tasks:
- name: Set-up the hosts file
lineinfile:
path: /etc/hosts
regexp: "^{{ item.key }}"
line: "{{ item.key }} {{ item.value }}"
owner: root
group: root
mode: 0644
state: present
with_dict:
10.31.127.20: "client1"
10.31.127.30: "parameters-mandatory"
10.31.127.31: "parameters-optional"
- name: Install curl for testing redirects and webpage content
apt:
name: curl
- hosts: stretch