Fix iptables-restore handler

This commit is contained in:
Daniel A. Maierhofer
2018-07-13 15:26:27 +02:00
parent 9228fd8e48
commit ac34166557
2 changed files with 11 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
---
- name: apt - add apt keys
apt_key: id="{{ item.id }}" url="{{ item.url }}" file="{{ item.file }}" state="{{ item.state }}"
apt_key: "id={{ item.id }} url={{ item.url }} file={{ item.file }} state={{ item.state }}"
with_items: "{{ common_apt_keys }}"
- name: apt - remove /etc/apt/sources.list.d/*
@@ -10,7 +10,7 @@
file: path=/etc/apt/sources.list.d/ state=directory owner=root group=root mode=0755
- name: apt - add repositories
apt_repository: repo="{{ item }}" update_cache=yes
apt_repository: "repo={{ item }} update_cache=yes"
with_items: "{{ common_apt_repositories }}"
- name: apt - remove /etc/apt/sources.list
@@ -22,9 +22,9 @@
notify: apt-get update
- name: install basic tools
apt: pkg="{{ item }}" cache_valid_time=3600 update_cache=yes
apt: "pkg={{ item }} cache_valid_time=3600 update_cache=yes"
with_items: "{{ common_basic_packages }}"
- name: apt - upgrade system
apt: upgrade="{{ common_apt_upgrade_policy }}"
apt: "upgrade={{ common_apt_upgrade_policy }}"
when: common_apt_upgrade_policy