Compare commits

..
4 Commits
4 changed files with 11 additions and 5 deletions
+4 -1
View File
@@ -2,6 +2,9 @@
host_key_checking = False host_key_checking = False
roles_path = ./roles:/etc/ansible/roles roles_path = ./roles:/etc/ansible/roles
group_vars = ./group_vars group_vars = ./group_vars
forks = 20
strategy = free
[ssh_connection] [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
View File
@@ -1,6 +1,6 @@
- hosts: all - hosts: all
become: true become: true
user: admin remote_user: "{{ ansible_user|default('admin') }}"
tasks: tasks:
- name: Verify if system is Debian - name: Verify if system is Debian
debug: debug:
+1 -1
View File
@@ -1,7 +1,7 @@
FROM debian:trixie-slim FROM debian:trixie-slim
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Berlin ENV TZ=Europe/Berlin
ENV ANSIBLE_MAJOR_VERSION=2.18 ENV ANSIBLE_MAJOR_VERSION=2.20
ENV PIP_BREAK_SYSTEM_PACKAGES=1 ENV PIP_BREAK_SYSTEM_PACKAGES=1
RUN apt update && apt install -y --no-install-recommends \ RUN apt update && apt install -y --no-install-recommends \
+3
View File
@@ -3,7 +3,10 @@
content: | content: |
#!/bin/bash #!/bin/bash
# Managed by Ansible - Do not edit manually # 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 fastfetch -s os:kernel:uptime:packages:shell:disk:cpu:memory:localip:colors
export FASTFETCH_MOTD_SHOWN=1
fi
dest: /etc/profile.d/motd.sh dest: /etc/profile.d/motd.sh
owner: root owner: root
group: root group: root