1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-09-19 15:30:34 +00:00

Variablize new IP ranges

This commit is contained in:
Kris Lamoureux 2021-01-29 15:03:40 -05:00
parent 609d46c0a9
commit c66e0a628f
Signed by: kris
GPG Key ID: A30022791E1719A4
2 changed files with 5 additions and 5 deletions

View File

@ -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 }}'

View File

@ -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