Ansible roles by Evolix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
ansible-roles/minifirewall/tasks/install.legacy.yml

24 lines
547 B

---
- name: dependencies are satisfied
apt:
name: iptables
state: present
- name: init script is copied
template:
src: minifirewall.legacy.j2
dest: /etc/init.d/minifirewall
force: "{{ minifirewall_force_upgrade_script | default('no') }}"
mode: "0700"
owner: root
group: root
- name: configuration is copied
copy:
src: minifirewall.legacy.conf
dest: "{{ minifirewall_main_file }}"
force: "{{ minifirewall_force_upgrade_config | default('no') }}"
mode: "0600"
owner: root
group: root