added aliases for pmls / pmlsa

added basic rtl container (not configured yet)
This commit is contained in:
b0xxer
2024-02-15 07:56:39 -06:00
parent eb66313924
commit 36a67e91c0
10 changed files with 91 additions and 12 deletions
+12
View File
@@ -6,6 +6,8 @@
- name: Determine OS variant
register: variant
ansible.builtin.shell: grep VARIANT_ID /etc/os-release | sed 's/VARIANT_ID=//g'
tags: config
- name: Create /etc/sysusers.d directory
become: true
become_method: sudo
@@ -136,4 +138,14 @@
length_minutes = {{ update_schedule_length }}
tags: config
- name: Create pmls / pmlsa alias
ansible.builtin.blockinfile:
path: ~/.bashrc
block: |
alias pmls="podman ps --format {% raw %}'{{.Names}} \t{{.Status}}'{% endraw %}"
alias pmls="podman ps -a --format {% raw %}'{{.Names}} \t{{.Status}}'{% endraw %}"
state: present
create: true
tags: config