File diff 5dd2fe95221c → 879d27016133
roles/web_server/molecule/default/prepare.yml
Show inline comments
 
@@ -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
 
        state: present
 

	
 
- hosts: stretch
 
  become: true
 
  tasks: