Sha256: 2e47d49e3fc6f78721661c6407f0a93dc1006569486a118ae713505cced89c4b

Contents?: true

Size: 224 Bytes

Versions: 15

Compression:

Stored size: 224 Bytes

Contents

---
- name: setup firewall
  shell: ufw allow 22; ufw allow 1224; ufw allow 80; ufw allow 443
  when: inventory_hostname == 'root'

- name: enable firewall
  shell: echo 'y' | ufw enable
  when: inventory_hostname == 'root'

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
flash_kick-0.1.2 lib/generators/flash_kick/templates/ansible/playbooks/roles/security/tasks/firewall.yml
flash_kick-0.1.1 lib/generators/flash_kick/templates/ansible/playbooks/roles/security/tasks/firewall.yml
flash_kick-0.1.0 lib/generators/flash_kick/templates/ansible/playbooks/roles/security/tasks/firewall.yml
rails-ahoy-0.2.4 lib/generators/ahoy/templates/ansible/playbooks/roles/security/tasks/firewall.yml
rails-ahoy-0.2.0 lib/generators/ahoy/templates/ansible/playbooks/roles/security/tasks/firewall.yml
rails-ahoy-0.1.3 lib/generators/ahoy/templates/ansible/playbooks/roles/security/tasks/firewall.yml
rails-ahoy-0.1.2 lib/generators/ahoy/templates/ansible/playbooks/roles/security/tasks/firewall.yml
rails-ahoy-0.1.1 lib/generators/ahoy/templates/ansible/playbooks/roles/security/tasks/firewall.yml
rails-ahoy-0.1.0 lib/generators/ahoy/templates/ansible/playbooks/roles/security/tasks/firewall.yml
rails-ahoy-0.0.8 lib/generators/ahoy/templates/ansible/playbooks/roles/security/tasks/firewall.yml
rails-ahoy-0.0.7 lib/generators/ahoy/templates/ansible/playbooks/roles/security/tasks/firewall.yml
rails-ahoy-0.0.6 lib/generators/ahoy/templates/ansible/playbooks/roles/security/tasks/firewall.yml
rails-ahoy-0.0.5 lib/generators/ahoy/templates/ansible/playbooks/roles/security/tasks/firewall.yml
rails-ahoy-0.0.4 lib/generators/ahoy/templates/ansible/playbooks/roles/security/tasks/firewall.yml
rails-ahoy-0.0.3 lib/generators/ahoy/templates/ansible/playbooks/roles/security/tasks/firewall.yml