summaryrefslogtreecommitdiff
path: root/base-image/base-image.yml
blob: 312bdd582c0aa0a93a9b4745fb4ae09de943b79e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- hosts: image
  tasks:
    - file:
        path: /etc/machine-id
        state: absent
    - apt:
        name:
          - cloud-init
          - openssh-server
        install_recommends: no
    - shell: |
        apt clean
  vars:
    hostname: bullseye
    ansible_python_interpreter: /usr/bin/python3