RedHatGov / redhatgov.workshops

This is a collection of Ansible-deployed workshop environments. Use it in combination with the student workbook content, from the repo at https://github.com/RedHatGov/redhatgov.github.io
http://redhatgov.io
65 stars 69 forks source link

Ansible Tower AWS Workshop | Fix firewall service list that break deployment #115

Closed dmc5179 closed 4 years ago

dmc5179 commented 4 years ago

In 3_load.yml the following task fails due to httpd not being the correct service name. The correct service names are http and https

- name: Open ports 80,443 on nodes
  become: yes
  remote_user: ec2-user
  hosts:
    - rhel_nodes
  gather_facts: yes
  tasks:
    - name: open firewalld ports
      firewalld:
        service: "{{ item }}"
        permanent: yes
        state: enabled
      with_items:
      - 'httpd'
      - 'https'
    - name: restart service
      service:
        name: firewalld
        state: reloaded
dmc5179 commented 4 years ago

This issue has been resolved:

https://github.com/RedHatGov/redhatgov.workshops/pull/116