mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2024-12-16 15:30:34 +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_db_import_success: /tmp/redmine_db_import_success
|
||||||
_redmine_install_wrapper: '/home/{{ redmine_owner }}/install_wrapper'
|
_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-ansible module vars
|
||||||
rvm1_rubies:
|
rvm1_rubies:
|
||||||
- 'ruby-{{ ruby_version }}'
|
- 'ruby-{{ ruby_version }}'
|
||||||
|
@ -27,11 +27,7 @@
|
|||||||
rich_rule: 'rule service name="ssh" family="ipv4" source address="{{ item }}" accept'
|
rich_rule: 'rule service name="ssh" family="ipv4" source address="{{ item }}" accept'
|
||||||
permanent: true
|
permanent: true
|
||||||
state: enabled
|
state: enabled
|
||||||
with_items:
|
with_items: "{{ firewall_addrs }}"
|
||||||
- 128.192.75.0/24
|
|
||||||
- 192.168.0.0/16
|
|
||||||
- 172.16.0.0/16
|
|
||||||
- 128.91.49.0/24
|
|
||||||
become: yes
|
become: yes
|
||||||
notify: restart firewalld
|
notify: restart firewalld
|
||||||
when: is_production_vm == True
|
when: is_production_vm == True
|
||||||
|
Loading…
Reference in New Issue
Block a user