mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2024-12-16 07:20:36 +00:00
Variablize new IP ranges
This commit is contained in:
parent
609d46c0a9
commit
c66e0a628f
@ -45,6 +45,10 @@ _redmine_db_import_file: /tmp/redmine_dump.sql
|
||||
_redmine_db_import_success: /tmp/redmine_db_import_success
|
||||
_redmine_install_wrapper: '/home/{{ redmine_owner }}/install_wrapper'
|
||||
|
||||
firewall_addrs:
|
||||
- 192.168.0.0/16
|
||||
- 172.16.0.0/16
|
||||
|
||||
# rvm1-ansible module vars
|
||||
rvm1_rubies:
|
||||
- 'ruby-{{ ruby_version }}'
|
||||
|
@ -27,11 +27,7 @@
|
||||
rich_rule: 'rule service name="ssh" family="ipv4" source address="{{ item }}" accept'
|
||||
permanent: true
|
||||
state: enabled
|
||||
with_items:
|
||||
- 128.192.75.0/24
|
||||
- 192.168.0.0/16
|
||||
- 172.16.0.0/16
|
||||
- 128.91.49.0/24
|
||||
with_items: "{{ firewall_addrs }}"
|
||||
become: yes
|
||||
notify: restart firewalld
|
||||
when: is_production_vm == True
|
||||
|
Loading…
Reference in New Issue
Block a user