Compare commits
1 commit
main
...
renovate/d
Author | SHA1 | Date | |
---|---|---|---|
166b8fca4d |
5 changed files with 4 additions and 31 deletions
|
@ -30,7 +30,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: mysql
|
- name: mysql
|
||||||
image: docker.io/library/mysql:8.4.3
|
image: docker.io/library/mysql:9.1.0
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: mysql
|
name: mysql
|
||||||
|
|
|
@ -27,7 +27,7 @@ spec:
|
||||||
app: mysql
|
app: mysql
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: docker.io/library/mysql:5.7
|
- image: docker.io/library/mysql:9.1
|
||||||
name: mysql
|
name: mysql
|
||||||
resources: {}
|
resources: {}
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -17,7 +17,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: bitwarden-cli
|
- name: bitwarden-cli
|
||||||
image: ghcr.io/charlesthomas/bitwarden-cli:2024.11.1
|
image: ghcr.io/charlesthomas/bitwarden-cli:2024.11.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
||||||
fsGroup: 1001
|
fsGroup: 1001
|
||||||
fsGroupChangePolicy: "OnRootMismatch"
|
fsGroupChangePolicy: "OnRootMismatch"
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/shlinkio/shlink:4.3.0
|
- image: ghcr.io/shlinkio/shlink:4.2.5
|
||||||
name: shlink
|
name: shlink
|
||||||
resources: {}
|
resources: {}
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -10,30 +10,3 @@
|
||||||
apt:
|
apt:
|
||||||
name: [ufw]
|
name: [ufw]
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: check which users exist
|
|
||||||
ansible.builtin.user:
|
|
||||||
name: "{{ item }}"
|
|
||||||
loop: ["root", "finn", "debian"]
|
|
||||||
check_mode: true
|
|
||||||
register: users
|
|
||||||
|
|
||||||
- name: Ensure SSH key is set
|
|
||||||
ansible.posix.authorized_key:
|
|
||||||
user: "{{ item.item }}"
|
|
||||||
state: present
|
|
||||||
key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJs5PJ6jQF7Sx3T1b1+NBXt4JRsnjGnWv8+bCf4RpwGM finn@taint
|
|
||||||
loop: "{{ users.results }}"
|
|
||||||
loop_control:
|
|
||||||
label: "{{ item.item }}"
|
|
||||||
when: item.state | d('') == 'present'
|
|
||||||
|
|
||||||
- name: Invalidate old SSH key
|
|
||||||
ansible.posix.authorized_key:
|
|
||||||
user: "{{ item.item }}"
|
|
||||||
state: absent
|
|
||||||
key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDMaJrZWSrAYTaCoGhW+o8HivmBj5oZi7Dei73FtCl0d finn@taint
|
|
||||||
loop: "{{ users.results }}"
|
|
||||||
loop_control:
|
|
||||||
label: "{{ item.item }}"
|
|
||||||
when: item.state | d('') == 'present'
|
|
||||||
|
|
Loading…
Reference in a new issue