Compare commits
No commits in common. "188a6f539fe29b8664e4e1d7b6ef934fde38a184" and "5377c347094e922f0e19f868d9f86f8aa3209430" have entirely different histories.
188a6f539f
...
5377c34709
2 changed files with 3 additions and 29 deletions
|
|
@ -31,23 +31,15 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
|
|
||||||
- name: Create keyrings directory
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: /etc/apt/keyrings
|
|
||||||
state: directory
|
|
||||||
mode: '0755'
|
|
||||||
when: ansible_os_family == "Debian"
|
|
||||||
|
|
||||||
- name: Add Docker GPG key
|
- name: Add Docker GPG key
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.apt_key:
|
||||||
url: https://download.docker.com/linux/debian/gpg
|
url: https://download.docker.com/linux/debian/gpg
|
||||||
dest: /etc/apt/keyrings/docker.asc
|
state: present
|
||||||
mode: '0644'
|
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
|
|
||||||
- name: Add Docker repository
|
- name: Add Docker repository
|
||||||
ansible.builtin.apt_repository:
|
ansible.builtin.apt_repository:
|
||||||
repo: "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable"
|
repo: "deb [arch=amd64] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable"
|
||||||
state: present
|
state: present
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
|
|
||||||
|
|
@ -69,11 +61,3 @@
|
||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
when: ansible_virtualization_type != "docker"
|
when: ansible_virtualization_type != "docker"
|
||||||
|
|
||||||
- name: Set custom MOTD
|
|
||||||
ansible.builtin.template:
|
|
||||||
src: motd.j2
|
|
||||||
dest: /etc/motd
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: '0644'
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
|
|
||||||
▗▄▄▄ ▗▄▄▄▖ ▗▄▄▖▗▄▄▄▖▗▄▄▄▖▗▄▖ ▗▖ ▗▄▄▖ ▗▄▖ ▗▄▖ ▗▄▄▖ ▗▄▄▄
|
|
||||||
▐▌ █ █ ▐▌ █ █ ▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ █
|
|
||||||
▐▌ █ █ ▐▌▝▜▌ █ █ ▐▛▀▜▌▐▌ ▐▛▀▚▖▐▌ ▐▌▐▛▀▜▌▐▛▀▚▖▐▌ █
|
|
||||||
▐▙▄▄▀▗▄█▄▖▝▚▄▞▘▗▄█▄▖ █ ▐▌ ▐▌▐▙▄▄▖▐▙▄▞▘▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▐▙▄▄▀
|
|
||||||
|
|
||||||
|
|
||||||
Hostname: {{ ansible_hostname }}
|
|
||||||
Distribution: {{ ansible_distribution }} {{ ansible_distribution_version }}
|
|
||||||
Kernel: {{ ansible_kernel }}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue