added aliases for pmls / pmlsa
added basic rtl container (not configured yet)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user