Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dmc5179 opened this issue Sep 8, 2020 · 1 comment
Labels

Comments

@dmc5179
Copy link
Contributor

dmc5179 commented Sep 8, 2020

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 dmc5179 added the bug label Sep 8, 2020
@dmc5179
Copy link
Contributor Author

dmc5179 commented Sep 8, 2020

This issue has been resolved:

#116

@dmc5179 dmc5179 closed this as completed Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant