@ -8,14 +8,13 @@
tasks:
tasks:
- name : install lxc related packages
- name : install lxc related packages
apt:
apt:
name : "{{ item }}"
pkg:
- lxc
- python3
- python3-lxc
state : present
state : present
update_cache : yes
update_cache : yes
cache_valid_time : 3600
cache_valid_time : 3600
with_items:
- lxc
- python3
- python3-lxc
- name : install common lxc filesystem support
- name : install common lxc filesystem support
apt:
apt:
@ -24,13 +23,12 @@
- name : install network bridge utilities
- name : install network bridge utilities
apt:
apt:
name : "{{ item }}"
pkg:
- bridge-utils
- vlan
state : present
state : present
update_cache : yes
update_cache : yes
cache_valid_time : 3600
cache_valid_time : 3600
with_items:
- bridge-utils
- vlan
notify : restart networking
notify : restart networking
# We should fix this bug. We really should. It's a bug.
# We should fix this bug. We really should. It's a bug.
# Bridge-utils requires a complete system reboot to enable the new bridge.
# Bridge-utils requires a complete system reboot to enable the new bridge.
@ -43,19 +41,18 @@
- name : install utilities
- name : install utilities
apt:
apt:
name : "{{ item }}"
pkg:
- vim
- htop
state : present
state : present
update_cache : yes
update_cache : yes
cache_valid_time : 3600
cache_valid_time : 3600
with_items:
- vim
- htop
- name : enable lvm wipe signature
- name : enable lvm wipe signature
lineinfile:
lineinfile:
dest : /etc/lvm/lvm.conf
dest : /etc/lvm/lvm.conf
state : present
state : present
line : " wipe_signatures_when_zeroing_new_lvs = 0"
line : " wipe_signatures_when_zeroing_new_lvs = 0"
regexp : '^\s*.+wipe_signatures_when_zeroing_new_lvs = '
regexp : '^\s*.+wipe_signatures_when_zeroing_new_lvs = '
notify : restart lvm
notify : restart lvm
handlers:
handlers: