Compare commits
4
Commits
5febb427e6
...
cef71dcd1b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cef71dcd1b | ||
|
|
f8a5505047 | ||
|
|
0249f34ddf | ||
|
|
e3b60540b0 |
+4
-1
@@ -2,6 +2,9 @@
|
||||
host_key_checking = False
|
||||
roles_path = ./roles:/etc/ansible/roles
|
||||
group_vars = ./group_vars
|
||||
forks = 20
|
||||
strategy = free
|
||||
|
||||
[ssh_connection]
|
||||
ssh_args = -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
|
||||
ssh_args = -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPersist=1800s
|
||||
pipelining = True
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
- hosts: all
|
||||
become: true
|
||||
user: admin
|
||||
remote_user: "{{ ansible_user|default('admin') }}"
|
||||
tasks:
|
||||
- name: Verify if system is Debian
|
||||
debug:
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
FROM debian:trixie-slim
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ENV TZ=Europe/Berlin
|
||||
ENV ANSIBLE_MAJOR_VERSION=2.18
|
||||
ENV ANSIBLE_MAJOR_VERSION=2.20
|
||||
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
||||
RUN apt update && apt install -y --no-install-recommends \
|
||||
|
||||
@@ -3,7 +3,10 @@
|
||||
content: |
|
||||
#!/bin/bash
|
||||
# Managed by Ansible - Do not edit manually
|
||||
if [[ -z "${FASTFETCH_MOTD_SHOWN:-}" && -z "${SUDO_USER:-}" ]]; then
|
||||
fastfetch -s os:kernel:uptime:packages:shell:disk:cpu:memory:localip:colors
|
||||
export FASTFETCH_MOTD_SHOWN=1
|
||||
fi
|
||||
dest: /etc/profile.d/motd.sh
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
Reference in New Issue
Block a user