Browse Source

minifirewall: install dependencies in install.yml

evolinux-users
Jérémy Lecour 4 years ago
parent
commit
98c5619721
  1. 7
      minifirewall/tasks/install.yml
  2. 7
      minifirewall/tasks/main.yml

7
minifirewall/tasks/install.yml

@ -1,5 +1,12 @@
---
- name: dependencies are satisfied
apt:
name: '{{ item }}'
state: present
with_items:
- iptables
- name: init script is copied
copy:
src: minifirewall

7
minifirewall/tasks/main.yml

@ -1,12 +1,5 @@
---
- name: packages are installed
apt:
name: '{{ item }}'
state: present
with_items:
- iptables
- include: install.yml
- include: config.yml

Loading…
Cancel
Save