You cannot 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/playbooks/group_bwcloud.yml

19 lines
461 B
YAML

---
- name: Configure bwcloud nodes
hosts: bwcloud_vserver
tasks:
- name: Install special packages for bw cloud nodes
apt:
name:
- linux-headers-cloud-amd64
state: present
- name: Configure cloud-kernel to preserve hostname
copy:
content: |
preserve_hostname: yes
dest: "/etc/cloud/cloud.cfg.d/preserve_hostname.cfg"
owner: root
group: root
mode: u=rw,g=r,o=r